mirror of
https://bitbucket.org/cosmicvoids/vide_public.git
synced 2025-07-04 23:31:12 +00:00
cleaned up survey volume calculations. now uses correct z range, which corrects mean tracer separation estimation
This commit is contained in:
parent
cee027a759
commit
1b4751958f
4 changed files with 20 additions and 28 deletions
|
@ -169,14 +169,9 @@ def getVolNorm(sampleDir):
|
|||
else:
|
||||
maskFile = sampleDir+"/"+os.path.basename(sample.maskFile)
|
||||
print("Using maskfile found in: " + maskFile)
|
||||
props = getSurveyProps(maskFile, sample.zBoundary[0],
|
||||
sample.zBoundary[1],
|
||||
sample.zBoundary[0],
|
||||
sample.zBoundary[1],
|
||||
"all",
|
||||
sample.omegaM,
|
||||
selectionFuncFile=sample.selFunFile,
|
||||
useComoving=sample.useComoving)
|
||||
|
||||
|
||||
props = getSurveyProps(sample)
|
||||
surveyVol = props[0]
|
||||
volNormObs = nGal/surveyVol
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue