Package ivs :: Package catalogs :: Module corot
[hide private]
[frames] | no frames]

Module corot

source code

Retrieve CoRoT data from a local data repository.

check out http://nsted.ipac.caltech.edu/

Functions [hide private]
numpy recarray, dict
get_sismo_data(ID)
Retrieve CoRoT timeseries from a local data repository.
source code
numpy recarray, dict
get_exo_data(ID, type_data='white')
Retrieve CoRoT timeseries from a remote data repository.
source code
 
get_exo_catalog()
Retrieve the locally saved CoRoT exoplanet database.
source code
float,float
resolve(corot_id)
Convert a CoRoT ID to ra,dec.
source code
Variables [hide private]
  logger = logging.getLogger("CAT.COROT")
Function Details [hide private]

get_sismo_data(ID)

source code 

Retrieve CoRoT timeseries from a local data repository.

The output record array has fields 'HJD', 'flux', 'e_flux', 'flag'.

Parameters:
  • ID (int or str) - ID of the target: either an integer (CoRoT ID), an SIMBAD-recognised target name, or a valid CoRoT FITS file
Returns: numpy recarray, dict
data, header

get_exo_data(ID, type_data='white')

source code 

Retrieve CoRoT timeseries from a remote data repository.

The output record array has fields 'HJD', 'flux', 'e_flux', 'flag'.

Parameters:
  • ID (int or str) - ID of the target: either an integer (CoRoT ID), an SIMBAD-recognised target name, or a valid CoRoT FITS file
  • type_data (str) - 'white' or 'colors' (if available!)
Returns: numpy recarray, dict
data, header

resolve(corot_id)

source code 

Convert a CoRoT ID to ra,dec.

Parameters:
  • corot_id (int) - CoRoT exoplanet identification number
Returns: float,float
RA, DEC (degrees)