DarkEnergySurvey / ugali

Ultra-faint galaxy likelihood toolkit
MIT License
14 stars 15 forks source link

Fix histogram binning #31

Open kadrlica opened 6 years ago

kadrlica commented 6 years ago

We are currently inconsistently defining whether our histograms are defined with hist.shape == (len(xbins),len(ybins)) or hist.shape == (len(xbins)-1,len(ybins)-1). The second defines the bin value at the center of the bin and is the convention followed by numpy.