mirror of
https://bitbucket.org/cosmicvoids/vide_public.git
synced 2025-07-04 15:21:11 +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"
|
||||
dataFormat = "sdss"
|
||||
dataFile = "lss.dr72dim.dat"
|
||||
dataUNit = 1
|
||||
dataUnit = 1
|
||||
fullName = "lss.dr72dim.dat"
|
||||
nickName = "dim"
|
||||
zobovDir = ""
|
||||
|
@ -72,11 +72,13 @@ class Sample:
|
|||
minVoidRadius = 5
|
||||
fakeDensity = 0.01
|
||||
profileBinSize = 2 # Mpc
|
||||
autoNumInStack = -1 # set to >0 to automatically generate stacks of size N
|
||||
volumeLimited = True
|
||||
includeInHubble = True
|
||||
partOfCombo = False
|
||||
isCombo = False
|
||||
useLCDM = False # if True, convert population to comoving coordinates
|
||||
|
||||
comboList = []
|
||||
|
||||
# applies to simulations only
|
||||
|
@ -99,7 +101,7 @@ class Sample:
|
|||
numSubvolumes=1, mySubvolume=1, dataFormat="sdss",
|
||||
useLCDM=False,
|
||||
dataType="observation",
|
||||
subsample=1.0, useLightCone=True):
|
||||
subsample=1.0, useLightCone=True, autoNumInStack=-1):
|
||||
self.dataFile = dataFile
|
||||
self.fullName = fullName
|
||||
self.nickName = nickName
|
||||
|
@ -129,6 +131,7 @@ class Sample:
|
|||
self.useLightCone = useLightCone
|
||||
self.dataUnit = dataUnit
|
||||
self.useLCDM = useLCDM
|
||||
self.autoNumInStack = autoNumInStack
|
||||
|
||||
self.stacks = []
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue