-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Labels
enhancementNew feature or requestNew feature or request
Description
We should add an Interpolator class that can interpolate histograms.
Idea for usage:
# Linear interpolation
f = hist.interp.Linear(h)
x = f(2.3)
An Interpolator
would take a histogram, and would be callable, with the positional or keyword axes, and would return the interpolated value at that point, making the histogram act like a function. We could have a shortcut directly on the hist to do the above, but the design should be as seen above.
eduardo-rodrigues and LovelyBuggies
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request