RadMaxEstimator

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

Bases: ParametrizedComponentEstimator

Estimator class for rad-max tables (RAD_MAX, RAD_MAX_2D).

Methods Summary

__call__(target_point)

Estimating rad max table at target_point, inter-/extrapolates as needed and specified in __init__.

Methods Documentation

__call__(target_point)[source]

Estimating rad max table at target_point, inter-/extrapolates as needed and specified in __init__.

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

Target for inter-/extrapolation

Returns:
rad_max_interp: np.ndarray, shape=(n_points, …)

Interpolated RAD_MAX table with same shape as input effective areas. For RAD_MAX_2D of shape (n_energy_bins, n_fov_offset_bins)