mirror of
https://bitbucket.org/cosmicvoids/vide_public.git
synced 2025-07-04 23:31:12 +00:00
added new option to automatically generate stacks with a given number of voids
This commit is contained in:
parent
d06c7ef4f6
commit
377fb8eed8
1 changed files with 5 additions and 2 deletions
|
@ -58,7 +58,7 @@ class Sample:
|
||||||
dataType = "observation"
|
dataType = "observation"
|
||||||
dataFormat = "sdss"
|
dataFormat = "sdss"
|
||||||
dataFile = "lss.dr72dim.dat"
|
dataFile = "lss.dr72dim.dat"
|
||||||
dataUNit = 1
|
dataUnit = 1
|
||||||
fullName = "lss.dr72dim.dat"
|
fullName = "lss.dr72dim.dat"
|
||||||
nickName = "dim"
|
nickName = "dim"
|
||||||
zobovDir = ""
|
zobovDir = ""
|
||||||
|
@ -72,11 +72,13 @@ class Sample:
|
||||||
minVoidRadius = 5
|
minVoidRadius = 5
|
||||||
fakeDensity = 0.01
|
fakeDensity = 0.01
|
||||||
profileBinSize = 2 # Mpc
|
profileBinSize = 2 # Mpc
|
||||||
|
autoNumInStack = -1 # set to >0 to automatically generate stacks of size N
|
||||||
volumeLimited = True
|
volumeLimited = True
|
||||||
includeInHubble = True
|
includeInHubble = True
|
||||||
partOfCombo = False
|
partOfCombo = False
|
||||||
isCombo = False
|
isCombo = False
|
||||||
useLCDM = False # if True, convert population to comoving coordinates
|
useLCDM = False # if True, convert population to comoving coordinates
|
||||||
|
|
||||||
comboList = []
|
comboList = []
|
||||||
|
|
||||||
# applies to simulations only
|
# applies to simulations only
|
||||||
|
@ -99,7 +101,7 @@ class Sample:
|
||||||
numSubvolumes=1, mySubvolume=1, dataFormat="sdss",
|
numSubvolumes=1, mySubvolume=1, dataFormat="sdss",
|
||||||
useLCDM=False,
|
useLCDM=False,
|
||||||
dataType="observation",
|
dataType="observation",
|
||||||
subsample=1.0, useLightCone=True):
|
subsample=1.0, useLightCone=True, autoNumInStack=-1):
|
||||||
self.dataFile = dataFile
|
self.dataFile = dataFile
|
||||||
self.fullName = fullName
|
self.fullName = fullName
|
||||||
self.nickName = nickName
|
self.nickName = nickName
|
||||||
|
@ -129,6 +131,7 @@ class Sample:
|
||||||
self.useLightCone = useLightCone
|
self.useLightCone = useLightCone
|
||||||
self.dataUnit = dataUnit
|
self.dataUnit = dataUnit
|
||||||
self.useLCDM = useLCDM
|
self.useLCDM = useLCDM
|
||||||
|
self.autoNumInStack = autoNumInStack
|
||||||
|
|
||||||
self.stacks = []
|
self.stacks = []
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue