FitsYamlRegister

class specviz.io.yaml_loader.FitsYamlRegister(reference)[source]

Bases: specviz.io.yaml_loader.YamlRegister

Defines the generation of Spectrum1DRef objects by parsing FITS files with information from YAML files.

Methods Summary

reader(filename, \*\*kwargs) This generic function will query the loader factory, which has already loaded the YAML configuration files, in an attempt to parse the associated FITS file.

Methods Documentation

reader(filename, **kwargs)[source]

This generic function will query the loader factory, which has already loaded the YAML configuration files, in an attempt to parse the associated FITS file.

Parameters:
  • filename (str) – Input filename.
  • filter (str) – File type for YAML look-up.
  • kwargs (dict) – Keywords for Astropy reader.