ParametrizedExtrapolator

class pyirf.interpolation.ParametrizedExtrapolator(grid_points, params)[source]

Bases: BaseExtrapolator

Base class for all extrapolators used with IRF components that can be treated independently, e.g. parametrized ones like 3Gauss but also AEff. Derived from pyirf.interpolation.BaseExtrapolator

Methods Summary

__call__(target_point)

Providing a common __call__ interface

extrapolate(target_point)

Overridable function for the actual extrapolation code

Methods Documentation

__call__(target_point)

Providing a common __call__ interface

Parameters:
target_point: np.ndarray, shape=(1, n_dims)

Target for extrapolation

Returns:
Extrapolated result.
abstract extrapolate(target_point)

Overridable function for the actual extrapolation code