TargetPixelFile#
The lightkurve.targetpixelfile
module provides classes which represent FITS files
that store the original pixel data (images) obtained by the Kepler or TESS telescopes.
These classes provide methods to visualize these data and extract custom light curves.
Constructor#
|
Class to read and interact with the pixel data products ("Target Pixel Files") created by NASA's Kepler pipeline. |
|
Represents pixel data products created by NASA's TESS pipeline. |
Right Ascension of target ('RA_OBJ' header keyword). |
|
Declination of target ('DEC_OBJ' header keyword). |
|
CCD pixel column number ('1CRV5P' header keyword). |
|
CCD pixel row number ('2CRV5P' header keyword). |
|
Returns the column position correction. |
|
Returns the row position correction. |
|
Returns the optimal aperture mask used by the pipeline. |
|
Return the cube dimension shape. |
|
Returns the time for all good-quality cadences. |
|
Return the cadence number for all good-quality cadences. |
|
Returns a boolean mask flagging cadences whose time is |
|
Returns the flux for all good-quality cadences. |
|
Returns the flux uncertainty for all good-quality cadences. |
|
Returns the background flux for all good-quality cadences. |
|
Returns the quality flag integer of every good cadence. |
|
Returns an |
|
|
Returns two 3D arrays of RA and Dec values in decimal degrees. |
Performs photometry on the pixel data and returns a LightCurve object. |
|
Returns a LightCurve obtained using aperture photometry. |
|
Returns the results of PRF photometry applied to the pixel file. |
|
|
Returns a default |
Returns an aperture mask creating using the thresholding method. |
|
Returns an estimate of the median background level in the FLUX column. |
|
Returns the flux center of an object inside |
|
Returns a list of asteroids or comets which affected the target pixel files. |
|
|
Plot the pixel data for a single frame (i.e. |
|
Writes the TPF to a FITS file on disk. |
Display an interactive Jupyter Notebook widget to inspect the pixel data. |
|
Display a Jupyter Notebook widget showing Gaia DR2 positions on top of the pixels. |
|
|
Returns a |
|
Cut a rectangle out of the Target Pixel File. |
Creates a new Target Pixel File from a set of images. |
|
|
Show the light curve of each pixel in a single plot. |
Returns the metadata embedded in the file. |
|
|
Returns a header keyword value. |
|
Displays an interactive HTML matplotlib animation. |