JointLightCurve¶
-
class
linea.JointLightCurve(light_curves)[source] [edit on github]¶ Bases:
objectJoint analysis object for multiple CHEOPS light curves.
- Parameters
- light_curveslist
List of
CheopsLightCurveobjects.
Methods Summary
combined_design_matrix(self[, design_matrices])Generate the combined design matrix, from a list of design matrices, one per visit.
concatenate(self)Concatenate light curves into a single
ConcatenatedLightCurve.from_example([norm])Load example WASP-189 b light curves (NOTE: this is not real data).
plot(self[, ax])Plot the light curve.
regress(self, design_matrix)Regress the design matrix against the fluxes.
Methods Documentation
-
combined_design_matrix(self, design_matrices=None)[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
CheopsLightCurveobjects used to initialize theJointLightCurve.
- design_matriceslist of
- Returns
- X
ndarray Design matrix (concatenated column vectors of observables)
- X
-
concatenate(self)[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(self, ax=None, **kwargs)[source] [edit on github]¶ Plot the light curve.
-
regress(self, design_matrix)[source] [edit on github]¶ Regress the design matrix against the fluxes.