JointLightCurve¶
-
class
linea.
JointLightCurve
(light_curves)[source] [edit on github]¶ Bases:
object
Joint analysis object for multiple CHEOPS light curves.
- Parameters
- light_curveslist
List of
CheopsLightCurve
objects.
Methods Summary
combined_design_matrix
([design_matrices, norm])Generate the combined design matrix, from a list of design matrices, one per visit.
Concatenate light curves into a single
ConcatenatedLightCurve
.from_example
([norm])Load example WASP-189 b light curves (NOTE: this is not real data).
plot
([ax])Plot the light curve.
regress
(design_matrix)Regress the design matrix against the fluxes.
Methods Documentation
-
combined_design_matrix
(design_matrices=None, norm=True)[source] [edit on github]¶ Generate the combined design matrix, from a list of design matrices, one per visit.
- Parameters
- design_matriceslist of
ndarray
(optional) List of design matrices, one per visit. If None is supplied, fetch the design matrices from each of the
CheopsLightCurve
objects used to initialize theJointLightCurve
.
- design_matriceslist of
- Returns
- X
ndarray
Design matrix (concatenated column vectors of observables)
- X
-
concatenate
()[source] [edit on github]¶ Concatenate light curves into a single
ConcatenatedLightCurve
.- Returns
- c
namedtuple
Named tuple containing the concatenated contents of the JointLightCurve object.
- c
-
classmethod
from_example
(norm=True)[source] [edit on github]¶ Load example WASP-189 b light curves (NOTE: this is not real data).
- Parameters
- normbool
Normalize the fluxes such that the median flux is unity. Default is True.
-
plot
(ax=None, **kwargs)[source] [edit on github]¶ Plot the light curve.
-
regress
(design_matrix)[source] [edit on github]¶ Regress the design matrix against the fluxes.