EffectiveAreaEstimator
- class pyirf.interpolation.EffectiveAreaEstimator(grid_points, effective_area, interpolator_cls=<class 'pyirf.interpolation.griddata_interpolator.GridDataInterpolator'>, interpolator_kwargs=None, extrapolator_cls=None, extrapolator_kwargs=None, min_effective_area=<Quantity 1. m2>)[source]
Bases:
ParametrizedComponentEstimator
Estimator class for effective area tables (AEFF_2D).
Methods Summary
__call__
(target_point)Estimating effective area at target_point, inter-/extrapolates as needed and specified in __init__.
Methods Documentation
- __call__(target_point)[source]
Estimating effective area 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:
- aeff_interp: np.ndarray of (astropy.units.m)**2, shape=(n_points, …)
Interpolated Effective area array with same shape as input effective areas. For AEFF2D of shape (n_energy_bins, n_fov_offset_bins). Values lower or equal to __init__’s min_effective_area are set to zero.