Internal working of jaxspec
¶
Data structure for observations¶
Observation
is the main data structure to handle X-ray data. Observations in X-ray carry a lot
of data and metadata. The main data are the following :
energies
: the energy bins of the spectrumcounts
: the counts in each energy channel
Our entrypoint to the X-ray data is the OGIP
standard.
flowchart LR
T("fa:fa-chart-line True spectrum");
II("fa:fa-satellite Instrument <br> [input channels]");
IO("fa:fa-eye Observation <br> [folded channels]");
O("fa:fa-chart-column Binned Obs <br> [bins]");
T --> |" Discretisation "| II;
II --> |" Folding with <br> instrument response "| IO;
IO --> |" Rebinning "| O;
O -.Fitting the parameters.-> T;