mirror of
https://bitbucket.org/cosmicvoids/vide_public.git
synced 2025-07-04 23:31:12 +00:00
+ radial profiles now full actual density from survey volume, not zobov normalization
+ getVolNorm provides both zobov normalization and average density from survey volume for observations + significant update and cleanup to plotting routines
This commit is contained in:
parent
b79046ac22
commit
326756b2bc
8 changed files with 73 additions and 61 deletions
|
@ -75,7 +75,7 @@ def buildProfile(catalog, rMin, rMax, nBins=10):
|
|||
deltaV = 4*np.pi/3*(radii[1:]**3-radii[0:(radii.size-1)]**3)
|
||||
thisProfile = np.float32(thisProfile)
|
||||
thisProfile /= deltaV
|
||||
thisProfile /= catalog.volNorm
|
||||
thisProfile /= catalog.volNormObs
|
||||
allProfiles.append(thisProfile)
|
||||
binCenters = 0.5*(radii[1:] + radii[:-1])
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue