How to use astronomical spectra?

  • I
  • Thread starter yucheng
  • Start date
  • Tags
    Spectra
  • #1
222
57
TL;DR Summary
Trying to open a FITS file to view stellar spectra....
As suggested here

http://svocats.cab.inta-csic.es/miles/index.php?action=search

I tried downloading the VOTable, and FITS file (tried opening using Aladin and GIMP). However, when I open the file, I get a single line (I suppose the 2D spectra is contained in a single dimensional array?). Did I open it correctly? Is there any online guide for this? Is there a better way to view the spectra? Would you suggest some guides to using spectroscopic databases in general? Thanks!
 

Answers and Replies

  • #2
What exactly are you looking for? The PNG file is a graph of the spectrum. The ASCII file is a text file with a table of the flux as a function of wavelength. If you plot those values you will reproduce the PNG file. The FITS file has the same flux vs wavelength data in FITS format.
 
  • #3
I typically open FITS files using the python astropy.io.fits code, but it will give you the same table of flux vs wavelength that is in the ACSII file.
 

Suggested for: How to use astronomical spectra?

Replies
5
Views
866
Replies
1
Views
250
Replies
3
Views
2K
Replies
12
Views
2K
Replies
1
Views
960
Replies
17
Views
5K
Replies
3
Views
894
Back
Top