lightkurve.correctors.DesignMatrix.validate#

DesignMatrix.validate(rank=True)[source]#

Emits LightkurveWarning if matrix has low rank or priors have incorrect shape.

Note that for SparseDesignMatrix objects, calculating the rank will force the design matrix to be evaluated and stored in memory, reducing the speed and memory savings of SparseDesignMatrix.

For SparseDesignMatrix, rank checks will be turned off by default.