ecpi.process.spex.core.main_spex module

Section author: ECLAIRs GP team

SPEX implementation, no file access, only memory

Summary

Classes:

CountSpectrum

Count spectrum object

LightCurve

light curve object

Class diagram:

Functions:

spex

Reference

class CountSpectrum[source]

Bases: object

Count spectrum object

add_bin(info_bin)[source]

add a bin at the end of the spectrum

Parameters

info_bin ([int, float, float]) – [PI, counts, ctserr]

class LightCurve[source]

Bases: object

light curve object

add_bin(info_bin)[source]

add a bin at the end of the light curve

Parameters

info_bin ([float, float, float, float]) – [tstart, tstop, counts, ctserr]

spex(df_data, d_pars)[source]