avg_odd_even
- exovetter.odd_even.avg_odd_even(phases, flux, duration, event_phase=0.25, frac=0.5)[source]
Simple average-based odd/even vetter.
This takes the phases when it is folded at twice the acutal period. The odds are considered to be at
event_phase
, evens are atevent_phase + 0.5
.- Parameters:
- phasesarray
Phases when folding at 2x the period, zeroed at the transit epoch
- fluxarray
Relative flux of the light curve.
- durationfloat
Duration of the transit in same units as phases.
- event_phasefloat
Phase of the odd transit.
- fracfloat
Fraction of the in-transit duration to use.
- Returns:
- odd_depthtuple of float
Depth and error of the odd transit.
- even_depthtuple of float
Depth and error of the even transit.