calc_odd_even
- exovetter.odd_even.calc_odd_even(time, flux, period, epoch, duration, ingress=None, dur_frac=0.5)[source]
Simple odd/even vetter.
- Parameters:
- timearray
Times.
- fluxarray
Relative flux normalized to 1.
- periodfloat
Period in the same unit as time.
- epochfloat
Time of transit in same units as time.
- durationfloat
Duration of transit in same units as time.
- ingressfloat, optional
Ingress time in the same units as time. This keyword is currently unused.
- dur_fracfloat, optional
Fraction of in-transit duration to use for calculation
- Returns:
- sigmafloat
Significance that the difference is not zero.
- odd_depthfloat
Odd depth.
- even_depthfloat
Even depth.