mirror of
https://bitbucket.org/cosmicvoids/vide_public.git
synced 2025-07-04 15:21:11 +00:00
fix to allow switching on/off cosmological distortions
This commit is contained in:
parent
83073ecf20
commit
053c46e57b
2 changed files with 8 additions and 1 deletions
|
@ -101,6 +101,11 @@ def launchGenerate(sample, binPath, workDir=None, inputDataDir=None,
|
|||
else:
|
||||
includePecVelString = ""
|
||||
|
||||
if sample.useLightCone:
|
||||
useLightConeString = "cosmo"
|
||||
else:
|
||||
useLightConeString = ""
|
||||
|
||||
if sample.dataFormat == "multidark":
|
||||
dataFileLine = "multidark " + datafile
|
||||
elif sample.dataFormat == "gadget":
|
||||
|
@ -119,6 +124,7 @@ def launchGenerate(sample, binPath, workDir=None, inputDataDir=None,
|
|||
output %s
|
||||
outputParameter %s
|
||||
%s
|
||||
%s
|
||||
rangeX_min %g
|
||||
rangeX_max %g
|
||||
rangeY_min %g
|
||||
|
@ -129,6 +135,7 @@ def launchGenerate(sample, binPath, workDir=None, inputDataDir=None,
|
|||
""" % (dataFileLine, zobovDir+"/zobov_slice_"+sampleName,
|
||||
zobovDir+"/zobov_slice_"+sampleName+".par",
|
||||
includePecVelString,
|
||||
useLightConeString,
|
||||
xMin, xMax, yMin, yMax,
|
||||
sample.zBoundaryMpc[0], sample.zBoundaryMpc[1],
|
||||
sample.subsample)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue