find_indices_of_key_locations

exovetter.modshift.find_indices_of_key_locations(phase, conv, duration_hrs)[source]

Find the locations of the 4 major events in the convolved data.

The 4 major events are the primary transit, the secondary transit, the tertiary transit (i.e the 3rd most significant dip), and the most postitive event. This function finds their location in the folded (and binned) lightcurve convolved with the transit model.

Parameters:
conv

(2d np array) See output of compute_convolution_for_binned_data

period_days, duration_hrsfloat
Returns:
outdict

Each value is an index into the conv array.