PSFTableEstimator
- class pyirf.interpolation.PSFTableEstimator(grid_points, source_offset_bins, psf, interpolator_cls=<class 'pyirf.interpolation.quantile_interpolator.QuantileInterpolator'>, interpolator_kwargs=None, extrapolator_cls=None, extrapolator_kwargs=None, axis=-1)[source]
Bases:
DiscretePDFComponentEstimator
Estimator class for point spread function tables (PSF_TABLE).
Methods Summary
__call__
(target_point)Estimating psf tables at target_point, inter-/extrapolates as needed and specified in __init__.
Methods Documentation
- __call__(target_point)[source]
Estimating psf tables 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:
- psf_interp: u.Quantity[sr-1], shape=(n_points, …, n_source_offset_bins)
Interpolated psf table with same shape as input matrices. For PSF_TABLE of shape (n_points, n_energy_bins, n_fov_offset_bins, n_source_offset_bins)