TransitPhaseCoverage
- class exovetter.vetters.TransitPhaseCoverage(lc_name='flux', nbins=10, ndur=2)[source]
Bases:
BaseVetter
Transit Phase Coverage Vetter
- Parameters:
- lc_namestr
Name of the flux array in the
lightkurve
object.- nbinsinteger
number bins to divide-up the in transit points. default is 10, giving an accuracy of 0.1.
- ndurfloat
the code considers a phase that cover ndur * transit_duration as “in transit”. Default is 2
- Attributes:
Methods Summary
plot
()Generate a diagnostic plot.
run
(tce, lightcurve[, plot])Runs transit_coverage.calc_coverage to populate the vetter object.
Methods Documentation
- run(tce, lightcurve, plot=False)[source]
Runs transit_coverage.calc_coverage 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 of the data to use for vetting.
- Returns:
- metricsdict
- transit_coverage result dictionary containing the following:
transit_phase_coverage : Fraction of coverage