first_epoch

exovetter.utils.first_epoch(epoch, period, lc)[source]

Returns epoch of the first time in a lc file. Usefull when pulling down TCEs from MAST.

Parameters:
epochfloat

Time of transit from a given TCE in same time system as lc.

periodfloat

Period in units of time.

lclightkurve object

lightkurve object with flux and time.

Returns:
first_epochfloat

Epoch of first transit in lc in the time system of the lc.