mirror of
https://bitbucket.org/cosmicvoids/vide_public.git
synced 2025-07-04 15:21:11 +00:00
fixed bug in profile building
This commit is contained in:
parent
578ec5c3db
commit
b80676c6fc
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ def buildProfile(catalog, rMin, rMax):
|
|||
binCenters = 0.5*(radii[1:] + radii[:-1])
|
||||
|
||||
nVoid = len(voidsToStack)
|
||||
stackedProfile = np.std(allProfiles, axis=0) / np.sqrt(nVoids)
|
||||
stackedProfile = np.mean(allProfiles, axis=0)
|
||||
sigmas = np.std(allProfiles, axis=0) / np.sqrt(nVoids)
|
||||
|
||||
return binCenters, stackedProfile, sigmas
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue