apply_basis¶
- tessilator.detrend_cbv.apply_basis(weights, basis)[source]¶
Calculate the dot product between the weights and the CBVs.
- Parameters:
- weights
Iterable The weights for each lightcurve data point.
- basis
Iterable The CBVs for each data point.
- weights
- Returns:
- dot_prod_res
Iterable The dot product between the weights and the basis vectors.
- corr: (nobj x nobs) correction to apply to light curves
- dot_prod_res