What tools (or self-rolled code) do people prefer when making big publishable figures of spectra? The example given was an echelle spectrum, where the spectrum is loooong, and has many spectral orders to stack onto one or more pages of the journal.
Since this is a shamelessly self-generated Ask AstroBetter, I will award a beer for the best answer (or source code.)
My spectroscopic plotting/fitting kit. It uses matplotlib. pyspeckit.bitbucket.org.
How is the echelle spectrum formatted? I’m trying to make the code read in a wide variety of spectral formats by default; I’m working on IRAF’s multispec format right now.
Along the same lines, I like the one I made 🙂 – http://packages.python.org/Astropysics/coremods/spec.html – it also uses matplotlib. I speculate that’s the answer a lot of people will give in python though (i.e. “the one I made”).
@Adam: The download link doesn’t work for me. It does work if I use the much longer name given for wget.
@John: Thanks, fixed. The correct link address is https://bitbucket.org/pyspeckit/pyspeckit.bitbucket.org/get/tip.tar.gz. When I download that, it gets me an unfortunately named file; I’ll see if I can make it a little nicer looking.
I see this is an old thread, but just wanted to offer a site I recently helped develop at spectraplot.com, which includes basic spectral modeling of the HITRAN and NIST databases in an interactive web platform. You can save spectra to csv if you want more flexibility in a separate plotting program. Please let me know if you can think of any ways to make this better