rwesson / ALFA

Automated Line Fitting Algorithm
http://www.nebulousresearch.org/codes/alfa/
GNU General Public License v3.0
12 stars 6 forks source link

Check CUNIT for Angstrom or nm #13

Closed rwesson closed 7 years ago

rwesson commented 7 years ago

ALFA assumes wavelengths are in Angstroms, and stops if no lines are found in the wavelength range. If the FITS header says the units are nm, ALFA should simply divide the line catalogue wavelengths by 10 and continue.

rwesson commented 7 years ago

Implemented. CUNIT[13] is checked, and if nm is found, wavelengths are converted to A. c733e35f25d4f101c90e3d189cbab5de095c1817 3b67ca69f15766cb40516ef1ee5586c00302ea2b c1b9648c830e8ebd55273d47912173b968145b92