Interface with MAST and Exoplanet Archive APIs.
Parameters: | data_root – (optional) The local base directory where any data should be downloaded to. This can also be set using the KPLR_ROOT environment variable. The default value is ~/.kplr. |
---|
Submit a request to the Exoplanet Archive API and return a dictionary.
Parameters: |
|
---|
Find a single KOI given a KOI number (e.g. 145.01).
Parameters: | koi_number – The number identifying the KOI. This should be a float with the .0N for some value of N. |
---|
Get a list of KOIs from The Exoplanet Archive.
Parameters: | **params – The search parameters for the Exoplanet Archive API. |
---|
Find the set of light curves associated with a KIC target.
Parameters: |
|
---|
Submit a request to the MAST API and return a dictionary of parameters.
Parameters: |
|
---|
Get a planet by the Kepler name (e.g. “6b” or “Kepler-62b”).
Parameters: | name – The name of the planet. |
---|
Get a list of confirmed (Kepler) planets from MAST.
Parameters: | **params – The search parameters for the MAST API. |
---|
Get a KIC target by id from MAST.
Parameters: | kepid – The integer ID of the star in the KIC. |
---|
Get a list of KIC targets from MAST. Only return up to 100 results by default.
Parameters: | **params – The query parameters for the MAST API. |
---|
Find the set of target pixel files associated with a KIC target.
Parameters: |
|
---|
A model specifying a Kepler Object of Interest (KOI).
Get a list of light curve datasets for the model and optionally download the FITS files.
Parameters: |
|
---|
Get a list of target pixel datasets for the model and optionally download the FITS files.
Parameters: |
|
---|
A confirmed planet from the MAST confirmed_planets table. This table has far less—and far less accurate—information than the KOI table so it’s generally a good idea to use the koi property to access the catalog values.
Get a list of light curve datasets for the model and optionally download the FITS files.
Parameters: |
|
---|
Get a list of target pixel datasets for the model and optionally download the FITS files.
Parameters: |
|
---|
A star from the Kepler Input Catalog (KIC).
Get a list of light curve datasets for the model and optionally download the FITS files.
Parameters: |
|
---|
Get a list of target pixel datasets for the model and optionally download the FITS files.
Parameters: |
|
---|
A reference to a light curve dataset on the MAST severs. This object handles local caching of the file in a strict directory structure.
Download the data file from the server and save it locally. The local file will be saved in the directory specified by the data_root property of the API.
Parameters: | clobber – Should an existing local file be overwritten? (default: False) |
---|
The local filename of the data file. This file is only guaranteed to exist after fetch() has been called.
Get a list of light curve datasets for the model and optionally download the FITS files.
Parameters: |
|
---|
Get a list of target pixel datasets for the model and optionally download the FITS files.
Parameters: |
|
---|
Open the FITS data file and return the pyfits.HDUList. This will download the file if it isn’t already saved locally.
Parameters: |
|
---|
The remote URL for the data file on the MAST servers.
A reference to a target pixel dataset on the MAST severs. Like the LightCurve object, this object handles local caching of the file in a strict directory structure.
Download the data file from the server and save it locally. The local file will be saved in the directory specified by the data_root property of the API.
Parameters: | clobber – Should an existing local file be overwritten? (default: False) |
---|
The local filename of the data file. This file is only guaranteed to exist after fetch() has been called.
Get a list of light curve datasets for the model and optionally download the FITS files.
Parameters: |
|
---|
Get a list of target pixel datasets for the model and optionally download the FITS files.
Parameters: |
|
---|
Open the FITS data file and return the pyfits.HDUList. This will download the file if it isn’t already saved locally.
Parameters: |
|
---|
The remote URL for the data file on the MAST servers.