gabraganca / S4

A Stellar Spectral Synthesis Suite (S4, for short)
Other
5 stars 1 forks source link

Write a method to load FITS file. #5

Closed gabraganca closed 11 years ago

gabraganca commented 11 years ago

I should probably write a method to load FITS spectrum as a ndarray.

The flux can be loaded easily with astropy.io.fits. For the wavelength I will have to calculate the values using the CRPIX1, CRVAL1 and CDELT1 entries on the header. The header can also be easily loaded also with the astropy.io.fits.

gabraganca commented 11 years ago

Solved on pull request #7