Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

1D spectra vs 2D spectra

  1. Jan 16, 2009 #1
    I am wondering what is the difference between 1D spectra and 2D spectra? I see many documents talking about one of these 2, but I couldn't find any clear definition...
  2. jcsd
  3. Jan 16, 2009 #2
    2-d spectra are what you have on the CCD after taking an exposure with the spectrograph. The object that you are taking a spectrum of, say a star, typically extends over several pixels wide on the ccd chip. To get a 1-d spectrum, you sum up all the counts in the pixels in the 2-d profile in each row or column depending on how the chip is oriented, and subtract off any unwanted backgrounds at the same time. The end result is a 1-dimensional vector of total counts vs pixel number. For a quick and dirty 1-d spectrum, you can just plot across one of the rows/columns in the spectrum (again depending on the orientation of the ccd).

    The gory details can be found in the link below. . .

  4. Jan 16, 2009 #3
    Thank you, that was helpful, however, unfortunately I wasn't able to open the document with the details, that you mentioned,,, :-(
  5. Jan 16, 2009 #4
  6. Jan 16, 2009 #5
    Yea, Thanks, i was able to open that one, I think my computer doesn't read the .ps.Z files, do you know how can I fix that?
  7. Jan 16, 2009 #6


    User Avatar
    Science Advisor
    Homework Helper

    To read .ps (postscript) you need a free program called ghostview and ghostscript, they are available for just about all platforms.
    The .Z is a compressed file (rather like .Zip but more common on unix) I think newer versions of ghostview can read them automatically - otherwise something like 7zip will uncompress them.

    There are other types of 2d spectra, an Echelle puts multiple orders of the same spectra in different parts of the image, so the same line can appear many times - they are a little more complex to process. There are also multi-object spectrographs that produce spectra of many different objects in the same field at the same time
  8. Jan 21, 2009 #7
    thanks a lot. my question this time may sound really stupid, but I am new to unix, and I don't know who to run ghostview on Unix, is there a command to do it?
  9. Jan 21, 2009 #8


    User Avatar
    Science Advisor
    Homework Helper

    If you installed from a package then it should have been put on one of the application menus, or double clicking on the .ps file should start it.
    Otherwise 'gv' from the command line.
  10. Jan 21, 2009 #9
    is it just typing the 2 letters gv in the command line? I did that but it didn't work :(
  11. Jan 21, 2009 #10


    User Avatar
    Science Advisor
    Homework Helper

    Do you have ghostview installed?
    You can either install it from here (http://pages.cs.wisc.edu/~ghost/)
    Or use the package manager in your Linux distribution.

    You might also have evince installed - it's a combined pdf/ps viewer, again there should be a link on one of the menus or you can start it with "evince"

    On unix you can also do "man -k postscript" to search for all the manual pages that mention postscript
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?

Similar Discussions: 1D spectra vs 2D spectra
  1. Interpreting spectra (Replies: 5)

  2. Emission Spectra (Replies: 9)

  3. Spectra Classification (Replies: 1)

  4. Stellar spectra (Replies: 2)