mirror of
https://bitbucket.org/cosmicvoids/vide_public.git
synced 2025-07-04 23:31:12 +00:00
plotting now defaults to the untrimmed catalog
This commit is contained in:
parent
dbc4c87c3e
commit
f17e2dbdc8
1 changed files with 3 additions and 2 deletions
|
@ -267,7 +267,7 @@ def plotNumberDistribution(workDir=None, sampleList=None, figDir=None,
|
||||||
|
|
||||||
boxVol *= 1.e-9
|
boxVol *= 1.e-9
|
||||||
|
|
||||||
filename = workDir+"/sample_"+sampleName+"/centers_nocut_"+dataPortion+"_"+\
|
filename = workDir+"/sample_"+sampleName+"/untrimmed_centers_"+dataPortion+"_"+\
|
||||||
sampleName+".out"
|
sampleName+".out"
|
||||||
if not os.access(filename, os.F_OK):
|
if not os.access(filename, os.F_OK):
|
||||||
print "File not found: ", filename
|
print "File not found: ", filename
|
||||||
|
@ -300,6 +300,7 @@ def plotVoidDistribution(workDir=None, sampleList=None, figDir=None,
|
||||||
plotNameBase="dv",
|
plotNameBase="dv",
|
||||||
showPlot=False, dataPortion=None, setName=None):
|
showPlot=False, dataPortion=None, setName=None):
|
||||||
|
|
||||||
|
#plt.ioff()
|
||||||
Nmesh = 256
|
Nmesh = 256
|
||||||
|
|
||||||
for (iSample,sample) in enumerate(sampleList):
|
for (iSample,sample) in enumerate(sampleList):
|
||||||
|
@ -311,7 +312,7 @@ def plotVoidDistribution(workDir=None, sampleList=None, figDir=None,
|
||||||
|
|
||||||
plotName = plotNameBase+"_"+sampleName
|
plotName = plotNameBase+"_"+sampleName
|
||||||
|
|
||||||
filename = workDir+"/sample_"+sampleName+"/centers_nocut_"+dataPortion+"_"+\
|
filename = workDir+"/sample_"+sampleName+"/untrimmed_centers_"+dataPortion+"_"+\
|
||||||
sampleName+".out"
|
sampleName+".out"
|
||||||
|
|
||||||
if not os.access(filename, os.F_OK):
|
if not os.access(filename, os.F_OK):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue