ObservationSet

class ell1fit.setup_types.ObservationSet(files: list, models: list, ref_model: object, pepoch: list, times_from_pepoch: list, energies: list, exposures: object, observation_length: object)[source]

Bases: object

Everything read from disk: the data and the models describing it.

Attributes:
fileslist of str

Input event file paths.

modelslist

PINT timing models, one per file, already re-referenced to their own PEPOCH.

ref_modelobject

A single model re-referenced to the mean PEPOCH, used for the orbital parameters shared across files. Its TASC may therefore differ from any individual model’s by a whole number of orbits.

pepochlist of float

Reference epoch (MJD) of each file.

times_from_pepochlist of np.ndarray

Event arrival times, seconds from each file’s own PEPOCH.

energieslist of np.ndarray

Event energies, or PI channels when --use-pi is in effect.

exposuresnp.ndarray

Live time per file, in seconds, summed from the GTIs.

observation_lengthnp.ndarray

Wall-clock span per file, in seconds. Used for the uncertainty and scaling heuristics, which care about the lever arm rather than the exposure.

Attributes Summary

energies

exposures

files

models

n_files

Number of input event files.

observation_length

pepoch

ref_model

times_from_pepoch

Attributes Documentation

energies: list = <dataclasses._MISSING_TYPE object>
exposures: object = <dataclasses._MISSING_TYPE object>
files: list = <dataclasses._MISSING_TYPE object>
models: list = <dataclasses._MISSING_TYPE object>
n_files

Number of input event files.

observation_length: object = <dataclasses._MISSING_TYPE object>
pepoch: list = <dataclasses._MISSING_TYPE object>
ref_model: object = <dataclasses._MISSING_TYPE object>
times_from_pepoch: list = <dataclasses._MISSING_TYPE object>