prepared for magnitude-limited samples

This commit is contained in:
P.M. Sutter 2014-05-21 19:07:57 -05:00
parent 24e62450a8
commit 56b837899b
5 changed files with 18 additions and 15 deletions

View file

@ -106,7 +106,8 @@ def loadPart(sampleDir):
sample.zBoundary[1],
sample.zBoundary[0],
sample.zBoundary[1], "all",
useLCDM=sample.useComoving)
selectionFuncFile=sample.selFunFile,
useComoving=sample.useComoving)
boxVol = props[0]
volNorm = maskIndex/boxVol
else:
@ -156,7 +157,8 @@ def getVolNorm(sampleDir):
sample.zBoundary[1],
sample.zBoundary[0],
sample.zBoundary[1], "all",
useLCDM=sample.useComoving)
selectionFuncFile=sample.selFunFile,
useComoving=sample.useComoving)
boxVol = props[0]
volNorm = maskIndex/boxVol
else: