DiscretePDFComponentEstimator

class pyirf.interpolation.DiscretePDFComponentEstimator(grid_points, bin_edges, bin_contents, interpolator_cls=<class 'pyirf.interpolation.quantile_interpolator.QuantileInterpolator'>, interpolator_kwargs=None, extrapolator_cls=None, extrapolator_kwargs=None)[source]

Bases: BaseComponentEstimator

Base class for all Estimators working on IRF components that represent discretized PDFs.

While usable, it is encuraged to use the actual class for the respective IRF component as it ensures further checks and if nessecarry e.g. unit handling.