central density calculation now uses correct normalization from survey volume

This commit is contained in:
Paul M. Sutter 2025-04-23 15:22:07 -04:00
parent 96a3ee422f
commit 5bff8c0da3
5 changed files with 67 additions and 55 deletions

View file

@ -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')