StellarCartography / pydis

DEPRECATED: Check out PyKOSMOS!
https://github.com/jradavenport/pykosmos
MIT License
43 stars 27 forks source link

henear lines in interactive mode #25

Closed tdwilkinson closed 9 years ago

tdwilkinson commented 9 years ago

The plot that pops up in interactive mode show spectral lines increasing in wavelengh to the right. However, the arcs that are linked for comparison show spectral lines increasing in wavelength to the left. Usually, I think it would be flipped after the identify step in IRAF.

jradavenport commented 9 years ago

SPECTRA always shows the lines with increasing wavelength. The APO documentation only shows it in increasing pixel number. This is because the wavelength solution of the RED chip on DIS is backwards in pixel space, which SPECTRA knows and adjusts correctly.

Interestingly (frustratingly), the header in the DIS RED channel doesn't indicate in any way the wavelength solution is backwards.

tdwilkinson commented 9 years ago

interactive_henear_2

Here's just a comparison for what I meant. You are right that APO shows it in pixel space, and the wavelength solution is backwards. In processing, the pictures didn't quite match, so I had to mirror one to match the lines.

jradavenport commented 9 years ago

well, what we should do is make new versions of the HeNeAr images that are

1) in the right wavelength order 2) made in Python so the images look better (the current ones are made in IDL, and saved with screenshot instead of high res)