simple_generic_loader

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

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: Spectrum1DRef

The data.