Keywords: class

Next: FITS Keyword redefinition Up: Importing and Exporting Spectra Previous: Importing and Exporting Spectra Contents Index

### From FITS to CLASS

       FITS READ Filename[.fits]

will read a FITS file and create CLASS data from it. It is expected to work under the following conditions:

1. The `Filename.fits` file contains one spectrum, with (a subset of) the FITS keywords which are described in the previous section. FITS Keyword redefinition is possible.
2. OR The `Filename.fits` contains a BINTABLE, also with recognized FITS keywords.
3. No more, no less

This may look akwardly restrictive, but is already powerful if you have thought about your data destination when creating the FITS file.