mirror of
https://bitbucket.org/cosmicvoids/vide_public.git
synced 2025-07-04 15:21:11 +00:00
more bins in number function
This commit is contained in:
parent
41fd0988f7
commit
6034d6fb28
1 changed files with 1 additions and 1 deletions
|
@ -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])
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue