estimate_scatter
- exovetter.modshift.estimate_scatter(phi_days, flux, phi_pri_days, phi_sec_days, gap_width_hrs)[source]
Estimate the point-to-point scatter in the lightcurve after the transits have been removed.
- Parameters:
- phi_days, fluxfloat
The folded lightcurve
- phi_pri_days, phi_sec_daysfloat
Phase of primary and secondary transits, in units of days.
- gap_width_hrsfloat
How much data on either side of primary and secondary transits to gap before computing the point-to-point scatter
- Returns:
- rmsfloat
The rms point-to-point scatter
- Raises:
- ValueError
Invalid inputs or calculation failed.