I How to use astronomical spectra?

  • I
  • Thread starter Thread starter yucheng
  • Start date Start date
  • Tags Tags
    Spectra
AI Thread 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 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!
 
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.
 
Is a homemade radio telescope realistic? There seems to be a confluence of multiple technologies that makes the situation better than when I was a wee lad: software-defined radio (SDR), the easy availability of satellite dishes, surveillance drives, and fast CPUs. Let's take a step back - it is trivial to see the sun in radio. An old analog TV, a set of "rabbit ears" antenna, and you're good to go. Point the antenna at the sun (i.e. the ears are perpendicular to it) and there is...
3I/ATLAS, also known as C/2025 N1 (ATLAS) and formerly designated as A11pl3Z, is an iinterstellar comet. It was discovered by the Asteroid Terrestrial-impact Last Alert System (ATLAS) station at Río Hurtado, Chile on 1 July 2025. Note: it was mentioned (as A11pl3Z) by DaveE in a new member's introductory thread. https://www.physicsforums.com/threads/brian-cox-lead-me-here.1081670/post-7274146 https://earthsky.org/space/new-interstellar-object-candidate-heading-toward-the-sun-a11pl3z/ One...
Back
Top