ParametrizedComponentEstimator

class pyirf.interpolation.ParametrizedComponentEstimator(grid_points, params, interpolator_cls=<class 'pyirf.interpolation.griddata_interpolator.GridDataInterpolator'>, interpolator_kwargs=None, extrapolator_cls=None, extrapolator_kwargs=None)[source]

Bases: BaseComponentEstimator

Base class for all Estimators working on IRF components that represent parametrized or scalar quantities.

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.