phase_data

exovetter.trapezoid_fit.phase_data(t, period, t_zero)[source]

Phase the data at period per and centered at to inputs given.

Parameters:
tarray_like

Time of data.

periodarray_like

Period to phase time data. period and t should be in the same units.

t_zero: array_like

Epoch of phase zero.

Returns:
phiarray_like

Data phased running from (-0.5, 0.5].