ObservationTableSummary¶
-
class
gammapy.data.ObservationTableSummary(obs_table, target_pos=None)[source]¶ Bases:
objectObservation table summary.
Class allowing to summarize informations contained in Observation index table (
ObservationTable)Parameters: obs_table :
ObservationTableObservation index table
target_pos :
SkyCoordTarget position
Attributes Summary
offsetObservation pointing ot target offset ( Angle).Methods Summary
plot_offset_distribution([ax, bins])Construct the offset distribution of the observations. plot_zenith_distribution([ax, bins])Construct the zenith distribution of the observations. Attributes Documentation
Methods Documentation
-
plot_offset_distribution(ax=None, bins=None)[source]¶ Construct the offset distribution of the observations.
Parameters: ax :
Axesor None, optional.bins : integer or array_like, optional
Binning specification, passed to
matplotlib.pyplot.hist. By default, 10 bins from 0 deg to max offset + 0.5 deg is used.Returns: ax :
AxesAxis
-
plot_zenith_distribution(ax=None, bins=None)[source]¶ Construct the zenith distribution of the observations.
Parameters: ax :
Axesor None, optional.bins : integer or array_like, optional
Binning specification, passed to
matplotlib.pyplot.hist. By default, 30 bins from 0 deg to max zenith + 5 deg is used.Returns: ax :
AxesAxis
-