more bins in number function

This commit is contained in:
P.M. Sutter 2014-05-23 22:07:02 -04:00
parent 41fd0988f7
commit 6034d6fb28

View file

@ -79,7 +79,7 @@ def plotNumberFunction(catalogList,
boxVol *= 1.e-9 # Mpc->Gpc boxVol *= 1.e-9 # Mpc->Gpc
bins = 100./5. bins = 100.
hist, binEdges = np.histogram(data, bins=bins, range=(0., 100.)) hist, binEdges = np.histogram(data, bins=bins, range=(0., 100.))
binCenters = 0.5*(binEdges[1:] + binEdges[:-1]) binCenters = 0.5*(binEdges[1:] + binEdges[:-1])