Lpp

class exovetter.vetters.Lpp(map_filename=None, lc_name='flux')[source]

Bases: BaseVetter

LPP vetter.

Parameters:
map_filenamestr or None

Full path to a LPP .mat file. See Loadmap.

lc_namestr

Name of the flux array in the lightkurve object.

Attributes:
map_infoLoadmap

Map info from map_filename.

lc_namestr

Input lc_name.

tce, lc

Inputs to run(). TCE for this vetter should also contain snr estimate.

lpp_dataexovetter.lpp.Lppdata

Populated by run().

raw_lppfloat

Raw LPP value, populated by run().

norm_lppfloat

LPP value normalized by period and SNR, populated by run().

plot_datadict

The folded, binned transit prior to the LPP transformation, populated by run().

metricsdict

lpp result dictionary populated by run().

Methods Summary

plot()

Generate a diagnostic plot.

run(tce, lightcurve[, plot])

Runs lpp.compute_lpp_Transitmetric to populate the vetter object.

Methods Documentation

plot()[source]

Generate a diagnostic plot.

Parameters:
tce, lightcurve

See run().

run(tce, lightcurve, plot=False)[source]

Runs lpp.compute_lpp_Transitmetric to populate the vetter object.

Parameters:
tcetce object

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

lightcurvelightkurve object

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

plot: bool

option to show plot when initialy populating the metrics. Same as using the plot() method.

Returns:
metricsdict
lpp result dictionary containing the following:

raw_lpp : Raw LPP value norm_lpp : LPP value normalized by period and SNR plot_data : The folded, binned transit prior to the LPP transformation