mirror of
https://bitbucket.org/cosmicvoids/vide_public.git
synced 2025-07-04 15:21:11 +00:00
central density calculation now uses correct normalization from survey volume
This commit is contained in:
parent
96a3ee422f
commit
5bff8c0da3
5 changed files with 67 additions and 55 deletions
|
@ -608,6 +608,8 @@ def launchPrune(sample, binPath,
|
|||
else:
|
||||
minRadius = sample.minVoidRadius
|
||||
|
||||
volNormZobov, volNormObs = getVolNorm(sample)
|
||||
|
||||
if not (continueRun and (jobSuccessful(logFile, "NetCDF: Not a valid ID\n") \
|
||||
or jobSuccessful(logFile, "Done!\n"))):
|
||||
cmd = binPath
|
||||
|
@ -626,6 +628,8 @@ def launchPrune(sample, binPath,
|
|||
cmd += volFileLine
|
||||
cmd += useComovingFlag
|
||||
cmd += " --omegaM=" + str(sample.omegaM)
|
||||
cmd += " --volNormZobov=" + str(volNormZobov)
|
||||
cmd += " --volNormObs=" + str(volNormObs)
|
||||
cmd += " --outputDir=" + outputDir
|
||||
cmd += " --sampleName=" + str(sampleName)
|
||||
log = open(logFile, 'w')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue