apply_basis

tessilator.detrend_cbv.apply_basis(weights, basis)[source]

Calculate the dot product between the weights and the CBVs.

Parameters:
weightsIterable

The weights for each lightcurve data point.

basisIterable

The CBVs for each data point.

Returns:
dot_prod_resIterable

The dot product between the weights and the basis vectors.

corr: (nobj x nobs) correction to apply to light curves