cosmogrb.lightcurve package¶
Submodules¶
cosmogrb.lightcurve.light_curve_storage module¶
-
class
cosmogrb.lightcurve.light_curve_storage.LightCurveStorage(name, tstart, tstop, time_adjustment, pha, times, pha_source, times_source, pha_background, times_background, channels, ebounds, T0, instrument, extra_info)[source]¶ Bases:
object-
T0¶
-
binned_counts(dt, emin, emax, tmin=None, tmax=None)[source]¶ get the time bins and counts for a given selection
Parameters: - dt –
- emin –
- emax –
- times –
- pha –
- tmin –
- tmax –
Returns: Return type:
-
channels¶
-
display_background(dt=1, tmin=None, tmax=None, emin=None, emax=None, ax=None, **kwargs)[source]¶ display the background light curve
Parameters: - dt –
- tmin –
- tmax –
- emin –
- emax –
- ax –
Returns: Return type:
-
display_count_spectrum(tmin=None, tmax=None, ax=None, **kwargs)[source]¶ display the total count spectrum
Parameters: - tmin –
- tmax –
- ax –
Returns: Return type:
-
display_count_spectrum_background(tmin=None, tmax=None, ax=None, **kwargs)[source]¶ display the background count spectrum
Parameters: - tmin –
- tmax –
- ax –
Returns: Return type:
-
display_count_spectrum_source(tmin=None, tmax=None, ax=None, **kwargs)[source]¶ display the source count spectrum
Parameters: - tmin –
- tmax –
- ax –
Returns: Return type:
-
display_lightcurve(dt=1, tmin=None, tmax=None, emin=None, emax=None, ax=None, **kwargs)[source]¶ FIXME! briefly describe function
Parameters: - dt –
- tmin –
- tmax –
- emin –
- emax –
- ax –
Returns: Return type:
-
display_source(dt=1, tmin=None, tmax=None, emin=None, emax=None, ax=None, **kwargs)[source]¶ display the source only light curve
Parameters: - dt –
- tmin –
- tmax –
- emin –
- emax –
- ax –
Returns: Return type:
-
ebounds¶
-
extra_info¶
-
get_idx_over_interval(tmin, tmax)[source]¶ returns the selection over an interval of the full light curve
Parameters: - tmin –
- tmax –
Returns: Return type:
-
instrument¶
-
n_counts¶
-
n_counts_background¶
-
n_counts_source¶
-
name¶
-
pha¶
-
pha_background¶
-
pha_source¶
-
time_adjustment¶
-
times¶
-
times_background¶
-
times_source¶
-
tstart¶
-
tstop¶
-
cosmogrb.lightcurve.lightcurve module¶
-
class
cosmogrb.lightcurve.lightcurve.LightCurve(name, source, background, response, instrument, T0=0, grb_name='SynthGRB', tstart=0, tstop=100.0)[source]¶ Bases:
object-
display_energy_dependent_light_curve(time, energy, ax=None, cmap='viridis', **kwargs)[source]¶ FIXME! briefly describe function
Parameters: - time –
- energy –
- ax –
- cmap –
Returns: Return type:
-
display_energy_integrated_light_curve(time, ax=None, **kwargs)[source]¶ FIXME! briefly describe function
Parameters: - time –
- ax –
Returns: Return type:
-
extra_info¶
-
lightcurve_storage¶
-
name¶
-
pha¶
-
pha_background¶
-
pha_source¶
-
response¶
-
time_adjustment¶
-
times¶
-
times_background¶
-
times_source¶
-
cosmogrb.lightcurve.lightcurve_analyzer module¶
Module contents¶
-
class
cosmogrb.lightcurve.LightCurve(name, source, background, response, instrument, T0=0, grb_name='SynthGRB', tstart=0, tstop=100.0)[source]¶ Bases:
object-
display_energy_dependent_light_curve(time, energy, ax=None, cmap='viridis', **kwargs)[source]¶ FIXME! briefly describe function
Parameters: - time –
- energy –
- ax –
- cmap –
Returns: Return type:
-
display_energy_integrated_light_curve(time, ax=None, **kwargs)[source]¶ FIXME! briefly describe function
Parameters: - time –
- ax –
Returns: Return type:
-
extra_info¶
-
lightcurve_storage¶
-
name¶
-
pha¶
-
pha_background¶
-
pha_source¶
-
response¶
-
time_adjustment¶
-
times¶
-
times_background¶
-
times_source¶
-