DiscretePDFExtrapolator

class pyirf.interpolation.DiscretePDFExtrapolator(grid_points, bin_edges, binned_pdf, normalization=PDFNormalization.AREA)[source]

Bases: BaseExtrapolator

Base class for all extrapolators used with binned IRF components like EDisp. 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