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

Module coralie

source code

Interface to s1dA spectra from the Coralie spectrograph.

Functions [hide private]
numpy rec array
search(ID, radius=1., filename=None)
Retrieve datafiles from the Coralie catalogue.
source code
 
make_data_overview()
Summarize all COralie data in a file for easy data retrieval.
source code
Variables [hide private]
  logger = logging.getLogger("CAT.CORALIE")
Function Details [hide private]

search(ID, radius=1., filename=None)

source code 

Retrieve datafiles from the Coralie catalogue.

We search on coordinates, pulled from SIMBAD. If the star ID is not recognised, a string search is performed to match the 'targ name' field in the FITS headers.

Only the s1d_A data are searched.

Parameters:
  • ID (str) - ID of the star, understandable by SIMBAD
  • radius (1) - search radius around the coordinates
  • filename (str) - write summary to outputfile if not None
Returns: numpy rec array
record array with summary information on the observations, as well as their location (column 'filename')