OddEven

class exovetter.vetters.OddEven(lc_name='flux', dur_frac=0.3)[source]

Bases: BaseVetter

OddEven vetter

Parameters:
lc_namestr

Name of the flux array in the lightkurve object.

dur_frac:

Fraction of in-transit duration to use for depth calculation.

Attributes:
odd_depthtuple

depth and error on depth of the odd transits, populated by run().

even_depthtuple

depth and error on depth of the even transits, populated by run().

oe_sigmaastropy.utils.masked.core.MaskedNDArray

significance of difference of odd/even depth measurements, populated by run().

metricsdict

modshift result dictionary populated by run().

Methods Summary

plot()

Generate a diagnostic plot.

run(tce, lightcurve[, plot])

Runs odd_even.calc_odd_even 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 odd_even.calc_odd_even 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
odd_even result dictionary containing the following:

oe_sigma : significance of difference of odd/even depth measurements odd_depth : depth and error on depth of the odd transits even_depth : depth and error on depth of the even transits