lightkurve.correctors.DesignMatrix.append_constant

DesignMatrix.append_constant(prior_mu=0, prior_sigma=inf, inplace=False)[source]

Returns a new DesignMatrix with a column of ones appended.

Returns
DesignMatrix

New design matrix with a column of ones appended. This column is named “offset”.