simple_generic_loader

specviz.io.simple_generic_loader(*args, **kwargs)[source]

Basic FITS file loader

Presumption is the primary data is a table with columns ‘flux’ and ‘err’. The dispersion information is encoded in the FITS header keywords.

Parameters:file_name (str) – The path to the FITS file
Returns:data – The data.
Return type:Spectrum1DRef