compute_phases
- exovetter.utils.compute_phases(time, period, epoch, offset=0.5)[source]
Calculate phases.
- Parameters:
- timefloat
Time
- periodfloat
Period in units of time.
- epochfloat
Time of the transit in units of the time.
- offsetfloat
Fractional value the times of the epoch should land on.
- Returns:
- phasesfloat
Phases in units of the period. All phases are positive in value.