View on GitHub

IRAF Community Distribution

IRAF maintained by the community

Home | Installation | Packages | X11IRAF | PyRAF | Forum

2d wavelength solution

Tino wrote on Nov 30, 2007

I made a 1D wavelength solution and applied it succesfully to my 1D science object. Now I would like to use the information in the solution I already created (using identify on an arc lamp), to transform the 2D spectrum of the science object by applying the same wavelength solution to all the lines (as if there where no geometric distortions). It's just for visualization purposes, to inspect the spectrum in 2D and see rotation curves for example. When displayed in ds9 it only shows the pixel position, and I would like to have an idea of the wavelength.

Francisco Valdes wrote on Nov 30, 2007

Hi,

I think you want to use DISPCOR. This task operates on 2D spectra as well as 1D. You need to use REFSPEC or simply add the REFSPEC1 keyword with a value pointing to the 1D spectrum you used for the dispersion solution. The 2D data should also have DISPAXIS set or use the onedspec package parameter to identify the dispersion axis.

Follow up if this is not clear.

Yours,
Frank Valdes

Last post on Nov 30, 2007