mirror of
https://bitbucket.org/cosmicvoids/vide_public.git
synced 2025-07-04 23:31:12 +00:00
parameters added to scripts to handle real-space analysis
This commit is contained in:
parent
1c68b64948
commit
5c4be39a99
3 changed files with 15 additions and 4 deletions
|
@ -76,6 +76,7 @@ class Sample:
|
|||
includeInHubble = True
|
||||
partOfCombo = False
|
||||
isCombo = False
|
||||
useLCDM = False # if True, convert population to comoving coordinates
|
||||
comboList = []
|
||||
|
||||
# applies to simulations only
|
||||
|
@ -96,6 +97,7 @@ class Sample:
|
|||
comboList=(), profileBinSize=2.0, skyFraction=0.19,
|
||||
boxLen=1024, usePecVel=False, omegaM=0.27,
|
||||
numSubvolumes=1, mySubvolume=1, dataFormat="sdss",
|
||||
useLCDM=False,
|
||||
dataType="observation",
|
||||
subsample=1.0, useLightCone=True):
|
||||
self.dataFile = dataFile
|
||||
|
@ -126,6 +128,7 @@ class Sample:
|
|||
self.subsample = subsample
|
||||
self.useLightCone = useLightCone
|
||||
self.dataUnit = dataUnit
|
||||
self.useLCDM = useLCDM
|
||||
|
||||
self.stacks = []
|
||||
|
||||
|
|
|
@ -330,7 +330,7 @@ def launchPrune(sample, binPath,
|
|||
periodicLine = " --periodic='" + getPeriodic(sample) + "'"
|
||||
|
||||
if useLCDM:
|
||||
useLCDMFlag = "--useLCDM"
|
||||
useLCDMFlag = " --useLCDM"
|
||||
else:
|
||||
useLCDMFlag = ""
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue