+ 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:
Paul M. Sutter 2025-03-04 14:07:36 -05:00
parent b79046ac22
commit 326756b2bc
8 changed files with 73 additions and 61 deletions

View file

@ -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])