You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dashi histograms drop down to numpy.histogramdd() on every call to fill(). For histograms with a large number of bins, this creates two inefficiencies:
Bin indices are found by binary search, when they're usually uniform under some transformation (i.e. linear or log)
A copy of the bin content array is created afresh on every call. Repeated calls to fill() would be much more efficient if bin content were added in place.
Things to do:
Create a binning object that implements the index calculation
Make these manipulable in the same way as bin edges (rebinning, slicing, etc)
Serialize and deserialize to HDF5 files
Reimplement fill() in terms of index calculation
The text was updated successfully, but these errors were encountered:
Dashi histograms drop down to
numpy.histogramdd()
on every call tofill()
. For histograms with a large number of bins, this creates two inefficiencies:fill()
would be much more efficient if bin content were added in place.Things to do:
fill()
in terms of index calculationThe text was updated successfully, but these errors were encountered: