fixed bug in profile building

This commit is contained in:
P.M. Sutter 2014-05-20 19:03:15 -05:00
parent 578ec5c3db
commit b80676c6fc

View file

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