mirror of
https://bitbucket.org/cosmicvoids/vide_public.git
synced 2025-07-05 07:41:11 +00:00
renamed 'generateMock' routines to 'prep' routines to accurately reflect what they do
This commit is contained in:
parent
b1962100a8
commit
50ad2d6d73
21 changed files with 69 additions and 89 deletions
|
@ -19,7 +19,7 @@
|
|||
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
#+
|
||||
|
||||
# Stage 1 : generate particles
|
||||
# Stage 1 : prepare particles for void finding
|
||||
# Stage 2 : find voids
|
||||
# Stage 3 : prune catalog
|
||||
|
||||
|
@ -89,14 +89,14 @@ for sample in dataSampleList:
|
|||
logFile = logDir+"/generate_"+sampleName+".out"
|
||||
|
||||
if sample.dataType == "observation":
|
||||
GENERATE_PATH = CTOOLS_PATH+"/generateFromCatalog"
|
||||
GENERATE_PATH = CTOOLS_PATH+"/prepObservation"
|
||||
else:
|
||||
GENERATE_PATH = CTOOLS_PATH+"/generateMock"
|
||||
GENERATE_PATH = CTOOLS_PATH+"/prepSimulation"
|
||||
|
||||
launchGenerate(sample, GENERATE_PATH, workDir=workDir,
|
||||
inputDataDir=inputDataDir, zobovDir=zobovDir,
|
||||
figDir=figDir, logFile=logFile, useComoving=sample.useComoving,
|
||||
continueRun=continueRun, regenerate=regenerateFlag)
|
||||
launchPrep(sample, GENERATE_PATH, workDir=workDir,
|
||||
inputDataDir=inputDataDir, zobovDir=zobovDir,
|
||||
figDir=figDir, logFile=logFile, useComoving=sample.useComoving,
|
||||
continueRun=continueRun, regenerate=regenerateFlag)
|
||||
|
||||
# --------------------------------------------------------------------------
|
||||
if (startCatalogStage <= 2) and (endCatalogStage >= 2) and not sample.isCombo:
|
||||
|
@ -110,7 +110,7 @@ for sample in dataSampleList:
|
|||
# -------------------------------------------------------------------------
|
||||
if (startCatalogStage <= 3) and (endCatalogStage >= 3) and not sample.isCombo:
|
||||
|
||||
print(" Taking data portions", "...", end=' ')
|
||||
print(" Pruning void catalogs", "...", end=' ')
|
||||
sys.stdout.flush()
|
||||
|
||||
logFile = logDir+"/pruneVoids_"+sampleName+".out"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue