This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # function to create array containing all wavelength values | |
| # of the grid where a spectrum has been sampled to | |
| # from a fits header object | |
| from astropy.io import fits | |
| import numpy as np | |
| def wavel(header, naxis=3, cdel_key="CD3_3"): | |
| """ |