get_irfs_features#
- gammapy.data.get_irfs_features(observations, energy_true, position=None, fixed_offset=None, names=None, containment_fraction=0.68, apply_standard_scaler=False)[source]#
Get features from IRFs properties at a given position. Used for observations clustering.
- Parameters
- observations
Observations
Container holding a list of
Observation
.- energy_true
Quantity
Energy true at which to compute the containment radius.
- position
SkyCoord
, optional Sky position. Default is None.
- fixed_offset
Angle
, optional Offset calculated from the pointing position. Default is None. If neither the
position
nor thefixed_offset
is specified, it uses the position of the center of the map by default.- names{“edisp-bias”, “edisp-res”, “psf-radius”}
IRFs properties to be considered. Default is None. If None, all the features are computed.
- containment_fractionfloat, optional
Containment_fraction to compute the
psf-radius
. Default is 68%.- apply_standard_scalerbool, optional
Compute standardize features by removing the mean and scaling to unit variance. Default is False.
- observations
- Returns
- features
Table
Features table.
- features