estimate_scatter

exovetter.utils.estimate_scatter(flux)[source]

Estimate the typical scatter in a lightcurve.

Uses the same method as Marshall vetter (Mullally et al 2017)

Parameters:
flux

(np 1d array). Flux to measure scatter of. Need not have zero mean.

Returns:
resultfloat

Scatter of data in the same units as in the input flux

Notes

Algorithm is reasonably insensitive to outliers. For best results uses outlier rejection on your lightcurve before computing scatter. Nan’s and infs in lightcurve will propegate to the return value.