run_all

exovetter.utils.run_all(tce, lc, tpf=None, vetters=None, remove_metrics=None, plot=False, plot_dir=None)[source]

Run a set of vetters on a tce and lc, returning a dictionary of all metrics collected

Parameters:
tcetce object

tce object is a dictionary that contains information about the tce to vet, like period, epoch, duration, depth

lclightkurve object

lightkurve object with the time and flux to use for vetting.

tpfobj

lightkurve target pixel file object with pixels in column lc_name

vetterslist

list of vetter objects to run on, ie [vet.ModShift(), vet.OddEven(dur_frac=0.75)] Defaults to all vetters

remove_metricslist

metrics to not store, defaults to removing plotting values

plotbool

Option to return a pdf of the vetting diagnostic plots, defaults to False

plot_dirstr

Path to store diagnostic pdfs in, defaults to current working directory

Returns:
results_dictdictionary

Dictionary of the kept vetting metrics