Lpp
- class exovetter.vetters.Lpp(map_filename=None, lc_name='flux')[source]
Bases:
BaseVetter
LPP vetter.
- Parameters:
- Attributes:
- map_info
Loadmap
Map info from
map_filename
.- lc_namestr
Input
lc_name
.- tce, lc
Inputs to
run()
. TCE for this vetter should also containsnr
estimate.- lpp_data
exovetter.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()
.
- map_info
Methods Summary
plot
()Generate a diagnostic plot.
run
(tce, lightcurve[, plot])Runs lpp.compute_lpp_Transitmetric to populate the vetter object.
Methods Documentation
- 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