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_file
str The name of the CBV-file
- lc
astropy.table.Table The lightcurve data in astropy-tabulated format
- type_cbv
str, optional, default=’Single’ The type of CBV-corrections to make. Choose from “Single”, “Spike”, “Multi1”, “Multi2” or “Multi3”
- cbv_file
- Returns:
- v_fin
astropy.table.Table The tabulated weights from the CBV fits to be applied to the lightcurve
- v_fin