Observations¶
-
class
gammapy.data.Observations(obs_list=None)[source]¶ Bases:
objectContainer class that holds a list of observations.
Parameters: - obs_list : list
A list of
DataStoreObservation
Attributes Summary
idsList of obs IDs ( list)Methods Summary
select_time(self, time_interval)Select a time interval of the observations. Attributes Documentation
Methods Documentation
-
select_time(self, time_interval)[source]¶ Select a time interval of the observations.
Parameters: - time_interval :
astropy.time.Time Start and stop time of the selected time interval. For now we only support a single time interval.
Returns: - new_observations :
Observations A new observations instance of the specified time interval
- time_interval :