lightkurve.SearchResult

class lightkurve.SearchResult(table=None)

Container for the results returned by the search functions.

The purpose of this class is to provide a convenient way to inspect and download products that have been identified using one of the data search functions.

Parameters
tableTable object

Astropy table returned by a join of the astroquery Observations.query_criteria() and Observations.get_product_list() methods.

__init__(table=None)

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__([table])

Initialize self.

download([quality_bitmask, download_dir, …])

Download and open the first data product in the search result.

download_all([quality_bitmask, …])

Download and open all data products in the search result.

Attributes

author

Pipeline name for each data product found.

dec

Declination coordinate for each data product found.

distance

Distance from the search position for each data product found.

exptime

Exposure time for each data product found.

mission

Kepler quarter or TESS sector names for each data product found.

obsid

MAST observation ID for each data product found.

ra

Right Ascension coordinate for each data product found.

table

Table containing the full search results returned by the MAST API.

target_name

Target name for each data product found.

unique_targets

Returns a table of targets and their RA & dec values produced by search

year

Year the observation was made.