Complete API¶
lightcurve.io¶
Library of I/O routines to get data into a LightCurve object.
Functions¶
check_filetype(filename) |
Determine the type of data being input. |
read([source]) |
|
composite(filelist, output[, trim]) |
Creates a composite lightcurve from files in filelist and saves it to the save_loc. |
prepare_header(filename, filelist[, override]) |
Prepare headers with MAST requirements |
lightcurve.cos¶
Utility functions for extracting COS spectral data into lightcurves
Functions¶
extract(filename, **kwargs) |
Extract lightcurve from COS dataset |
collect_inputs(filename) |
Populate HDU dictionary from available corrtag files |
get_both_filenames(filename) |
Get a list of both filenames for FUV data |
get_extraction_region(hdu, segment[, mode]) |
Get y_start,y_end for given extraction |
lightcurve.stis¶
Utility functions for extracting STIS spectral data into lightcurves
Functions¶
extract(filename, **kwargs) |
Extract lightcurve from STIS dataset |
stis_corrtag(tagfile[, clean]) |
Create a COS-like corrtag file for STIS data |
map_image |
|
epsilon(tagfile) |
Compute the total epsilon factor for each event |
dqinit(tagfile) |
Compute the data quality information for each pixel from the BPIXTAB. |
lightcurve.utils¶
General purpose utility functions
Functions¶
expand_refname(refname) |
Expand header reference file name to full path if $ is present. |
enlarge(a[, x, y]) |
Enlarges 2D image array a using simple pixel repetition in both dimensions. |
is_uniq(values) |
Check if input items are unique |