mirror of
https://bitbucket.org/cosmicvoids/vide_public.git
synced 2025-07-04 23:31:12 +00:00
futher fixes for handling sub-volumes in analysis
This commit is contained in:
parent
e2ee7b22dd
commit
61acd59383
8 changed files with 182 additions and 26 deletions
|
@ -107,6 +107,9 @@ if (startCatalogStage <= 4) and (endCatalogStage >= 4):
|
|||
sys.stdout.flush()
|
||||
|
||||
for thisDataPortion in dataPortions:
|
||||
plotNumberCounts(workDir, dataSampleList, figDir, showPlot=True, dataPortion=thisDataPortion, setName=setName)
|
||||
plotRedshiftDistribution(workDir, dataSampleList, figDir, showPlot=False,
|
||||
dataPortion=thisDataPortion, setName=catalogName)
|
||||
plotSizeDistribution(workDir, dataSampleList, figDir, showPlot=False,
|
||||
dataPortion=thisDataPortion, setName=catalogName)
|
||||
|
||||
print "\n Done!"
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
import numpy as np
|
||||
import os
|
||||
import sys
|
||||
from Scientific.IO.NetCDF import NetCDFFile
|
||||
import void_python_tools as vp
|
||||
import argparse
|
||||
|
||||
|
@ -95,10 +94,10 @@ from void_python_tools.backend.classes import *
|
|||
|
||||
continueRun = False
|
||||
startCatalogStage = 1
|
||||
endCatalogStage = 3
|
||||
endCatalogStage = 4
|
||||
|
||||
startAPStage = 1
|
||||
endAPStage = 6
|
||||
endAPStage = 7
|
||||
|
||||
ZOBOV_PATH = os.getenv("PWD")+"/../zobov/"
|
||||
CTOOLS_PATH = os.getenv("PWD")+"/../c_tools/"
|
||||
|
@ -297,7 +296,7 @@ if args.script or args.all:
|
|||
for line in inFile: numPart += 1
|
||||
inFile.close()
|
||||
|
||||
minRadius = int(np.ceil(lbox/numPart**(1./3.)))
|
||||
minRadius = 2*int(np.ceil(lbox/numPart**(1./3.)))
|
||||
|
||||
if dataFormat == "multidark":
|
||||
writeScript(prefix, "halos", scriptDir, catalogDir, redshifts,
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
import numpy as np
|
||||
import os
|
||||
import sys
|
||||
from Scientific.IO.NetCDF import NetCDFFile
|
||||
import void_python_tools as vp
|
||||
import argparse
|
||||
|
||||
|
@ -96,10 +95,10 @@ from void_python_tools.backend.classes import *
|
|||
|
||||
continueRun = False
|
||||
startCatalogStage = 1
|
||||
endCatalogStage = 3
|
||||
endCatalogStage = 4
|
||||
|
||||
startAPStage = 1
|
||||
endAPStage = 6
|
||||
endAPStage = 7
|
||||
|
||||
ZOBOV_PATH = os.getenv("PWD")+"/../zobov/"
|
||||
CTOOLS_PATH = os.getenv("PWD")+"/../c_tools/"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue