allowed high-z threshold for cutting to be user-selectable

This commit is contained in:
Paul M. Sutter 2024-06-04 13:28:54 +02:00
parent ddcb971eae
commit 4f78bb445b
4 changed files with 20 additions and 6 deletions

View file

@ -467,7 +467,8 @@ def launchZobov(sample, binPath, zobovDir=None, logDir=None, continueRun=None,
# -----------------------------------------------------------------------------
def launchPrune(sample, binPath,
summaryFile=None, logFile=None, zobovDir=None,
continueRun=None, useComoving=False, mergingThreshold=0.2):
continueRun=None, useComoving=False, mergingThreshold=0.2,
highRedshiftTolerance=1.0):
sampleName = sample.fullName
@ -516,7 +517,7 @@ def launchPrune(sample, binPath,
cmd += " --partAdj=" + zobovDir+"/adj_"+str(sampleName)+".dat"
cmd += " --extraInfo=" + zobovDir+"/zobov_slice_"+str(sampleName)+\
".par"
cmd += " --tolerance=1.0"
cmd += " --tolerance=" + str(highRedshiftTolerance)
cmd += " --mockIndex=" + str(mockIndex)
cmd += " --maxCentralDen=" + str(maxDen)
cmd += " --zMin=" + str(sample.zRange[0])