lightkurve.correctors.SparseDesignMatrixCollection#

class lightkurve.correctors.SparseDesignMatrixCollection(matrices)[source]#

A set of design matrices.

__init__(matrices)[source]#

Methods

__init__(matrices)

plot([ax])

Visualize the design matrix values as an image.

plot_priors([ax])

Visualize the prior_mu and prior_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 the DesignMatrix.standardize method.

to_designmatrix([name])

Flatten a DesignMatrixCollection into a DesignMatrix.

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.