threeML.utils.time_series.binned_spectrum_series module
- class threeML.utils.time_series.binned_spectrum_series.BinnedSpectrumSeries(binned_spectrum_set, first_channel=1, ra=None, dec=None, mission=None, instrument=None, verbose=True)[source]
-
Bases:
TimeSeries- property binned_spectrum_set
-
binned_spectrum_set.
- Type:
-
Returns the spectrum set
- Type:
-
return
- property bins
-
TimeIntervalSet.
- Type:
-
The time bins of the spectrum set
- Type:
-
return
- count_per_channel_over_interval(start, stop)[source]
-
Return the number of counts in the selected interval :param start:
start of interval :param stop: stop of interval :return:
- counts_over_interval(start, stop)[source]
-
Return the number of counts in the selected interval :param start:
start of interval :param stop: stop of interval :return:
- exposure_over_interval(start, stop)[source]
-
Calculate the exposure over the given interval.
- Parameters:
-
start – start time
stop – stop time
- Returns: