extract

lightcurve.cos.extract(filename, **kwargs)

Extract lightcurve from COS dataset

This is the main driver of the lightcuve extracion, and definitely needs some better documentation.

Parameters:
  • filename (str) – name of FITS file to extract from
  • **kwargs (dict) – arbitrary keyword arguements for tailored extraction
Returns:

data, meta – Table with extracted data and dictionary of metadata pairs

Return type:

Astropy table, dict