Utility Modules
These provide low-level functionality for exovetter
.
exovetter.const Module
Constants and units for exoplanet vetting.
Variables
BJD |
|
BKJD |
|
BTJD |
|
Barycentric Emphemeris Time (BET) |
|
PPK |
|
PPM |
|
Frac amp |
|
Supported Time Offset Keywords |
exovetter.model Module
The exovetter.model
module handles transit models for the
modshift vetter.
Available models:
Boxcar
Trapezoid (to be added in the future)
Developer notes
For each model type, create 2 functions:
create_<modelname>_model_for_tce
: Takes a TCE as input.create_<modelname>
: Takes more fundamental times (e.g., numpy arrays, floats).
Functions
|
Create boxcar model for a given TCE. |
|
Create boxcar model. |
exovetter.lightkurve_utils Module
Functions to handle compatibility with lightkurve.
Functions
|
Code to get time, flux and time_format from lightcurve object independent of v1 or v2 of the package. |
|
|
exovetter.trapezoid_fit Module
Module to perform a trapezoid model fit to flux time series data.
Originally written by Christopher Burke [1].
References
Kostov, V. B., Mullaly, S. E., Quintana, E. V. et al. 2019, AJ, 157, 3 (arXiv:1901.07459)
Functions
|
Phase the data at period per and centered at to inputs given. |
|
Trapezoid shape, in the form of vectors, for model. |
Classes
|
Class to handle the parameters of the trapezoid fit algorithms. |
|
Class to handle the original parameter estimations. |
|
Class to handle estimating a planet's model based upon the trapezoid fit solution. |
|
Class to handle trapezoid fits. |
exovetter.utils Module
Utility functions.
Functions
|
Sine function for SWEET vetter. |
|
Estimate the typical scatter in a lightcurve. |
|
Create a logical array indicating which cadences are affected by a transit. |
|
Quick and dirty median smooth function. |
|
Find plateaus in an array, i.e continuous regions that exceed threshold. |
|
Set median flux to zero. |
|
Set median flux to one. |
|
Iteratively find and remove outliers |
|
Populate a TCE object using the mast database |
|
Calculate phases. |
|
Returns epoch of the first time in a lc file. |
Classes
|
Least squares fit to an analytic function based on |