interpolate_cbv

tessilator.detrend_cbv.interpolate_cbv(cbv_file, lc, type_cbv='Single')[source]

Selects the type of CBV correction and applies them to the lightcurve

Parameters:
cbv_filestr

The name of the CBV-file

lcastropy.table.Table

The lightcurve data in astropy-tabulated format

type_cbvstr, optional, default=’Single’

The type of CBV-corrections to make. Choose from “Single”, “Spike”, “Multi1”, “Multi2” or “Multi3”

Returns:
v_finastropy.table.Table

The tabulated weights from the CBV fits to be applied to the lightcurve