FlareLightCurve¶
FlareLightCurve is the core class in AltaiPony for light curve de-trending, flare finding, and characterizing.
Functions¶
|
The Analytic Flare Model evaluated for a single-peak (classical). |
|
Construct a model light curve. |
|
Return discrete Fourier transform of real or complex sequence. |
|
Main wrapper to obtain and process a light curve. |
|
Find the iterative median value for a continuous observation period using flare finding to identify outliers. |
|
Creates different distributions of fake flares to be injected into light curves. |
|
Generate wild light curves with variability on several timescales. |
|
Helper function that merges the DataFrames containing injected fake flares with the recovered events. |
|
Helper function that generates deterministic random numbers if needed for testing. |
|
Helper function that splices up a list of tuples into more tuples at values defined by splits, like: ``` gaps = [(0., 20.), (21., 34.), (37., 41.)] splits = [1.5, 14., 39.] result = split_gaps(gaps, splits) >>> result = [(0., 1.5), (1.5, 14.), (14., 20.), >>> (21.0, 34.), (37., 39.), (39., 41.)] |
|
Take injection-recovery results for a data set and the corresponding flare table. |
Classes¶
|
Flare light curve class that unifies properties of |
|
Subclass of |
|
This class encodes the meaning of the various Kepler QUALITY bitmask flags, as documented in the Kepler Archive Manual (Ref. |
|
Class to read and interact with the pixel data products ("Target Pixel Files") created by NASA's Kepler pipeline. |
|
Subclass of |
|
1-D smoothing spline fit to a given set of data points. |
|
defaultdict(default_factory=None, /, [...]) --> dict with default factory |
|
This class is a wrapper for lightkurve (github.com/KeplerGO/lightkurve) so it can call k2sc. |