lightkurve.correctors.SparseDesignMatrixCollection#
- class lightkurve.correctors.SparseDesignMatrixCollection(matrices)[source]#
A set of design matrices.
Methods
__init__
(matrices)plot
([ax])Visualize the design matrix values as an image.
plot_priors
([ax])Visualize the
prior_mu
andprior_sigma
attributes.split
(row_indices)Returns a new
DesignMatrixCollection
with regressors split into multiple columns.standardize
()Returns a new
DesignMatrixCollection
in which all the matrices have been standardized using theDesignMatrix.standardize
method.to_designmatrix
([name])Flatten a
DesignMatrixCollection
into aDesignMatrix
.validate
()Attributes
columns
List of column names.
prior_mu
Coefficient prior means.
prior_sigma
Coefficient prior standard deviations.
values
2D numpy array containing the matrix values.