/fits_to_ascii

Convert fits to ascii files with contant wavelength

Primary LanguagePython

fits_to_ascii

This is a small code to convert fits files (IRAF format) to ascii. The code recognizes the 'CRVAL1' and 'CDELT1' in the fits header.

To run (replace filename with fits file):

python fits_ascii.py filename

Dependencies

You need these modules: numpy, Astropy, argparse, pyfits