mirror of
https://bitbucket.org/cosmicvoids/vide_public.git
synced 2025-07-04 23:31:12 +00:00
prepared for magnitude-limited samples
This commit is contained in:
parent
24e62450a8
commit
56b837899b
5 changed files with 18 additions and 15 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue