I How to use astronomical spectra?

  • Thread starter Thread starter yucheng
  • Start date Start date
  • Tags Tags
    Spectra
Click For Summary
To use astronomical spectra, downloading the VOTable and FITS files is a common approach, but they may initially appear as single-dimensional arrays. The PNG file represents the spectrum graphically, while the ASCII file contains a table of flux versus wavelength. Plotting the ASCII values will recreate the PNG graph. For FITS files, using Python's astropy.io.fits library is recommended, as it provides the same flux versus wavelength data found in the ASCII file. Successful implementation of this method has been confirmed through shared code resources.
yucheng
Messages
232
Reaction score
57
TL;DR
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!
 
Astronomy news on Phys.org
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.
 
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.
 
"Pop III stars are thought to be composed entirely of helium and hydrogen with trace amounts of lithium, the ingredients left over after the Big Bang. They formed early on, around 200 million years after the universe began. These stars are extremely rare because they died out long ago, although scientists have hoped that the faint light from these distant, ancient objects would be detectable. Previous Population III candidates have been ruled out because they didn't meet the three main...

Similar threads

  • · Replies 11 ·
Replies
11
Views
2K
Replies
1
Views
5K
  • · Replies 18 ·
Replies
18
Views
2K
Replies
1
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 8 ·
Replies
8
Views
7K
Replies
2
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K