compute_convolution_for_binned_data

exovetter.modshift.compute_convolution_for_binned_data(phase, flux, model)[source]

Convolve the binned data with the model

Parameters:
phase, flux

(1d np arrays) Phase folded and binned lightcurve. The phase array should be equally spaced.

model

(1d np array) Model transit computed at the same phase values as the phase array

Returns:
result

2d numpy array of convolved data. Columns are phase and flux

Raises:
ValueError

Invalid inputs