bug in gmosaic.c

Home Forums Gemini Data Reduction bug in gmosaic.c

Tagged: , ,

This topic contains 0 replies, has 1 voice, and was last updated by achene achene 8 months, 2 weeks ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #4170
    achene
    achene
    Keymaster

    Maybe some of you working on GMOS-S data from 2014 and after are affected by a bug in gmosaic.
    One way this is manifested in spectroscopy is an artificial jump in the wavelength solution between CCD2 and CCD3 (on the blue side). You can see an example in the first image.

    To fix the bug:
    1. If you do not know already, you can find where your gemini package was installed by typing:
    cl> show gemini
    2. Get to the file gmosaic.cl (under gmos/).
    3. On lines 439-441, you will find:

        lxbshift[2,3,1] = -2.4 # GG  - updated 20141020
        lxbshift[2,3,2] = 0.0  # OK 
        lxbshift[2,3,3] = 0.0  # OK

    Change that for:

        lxbshift[2,3,1] = -2.2 # GG  - updated 20141020
        lxbshift[2,3,2] = 0.0  # OK 
        lxbshift[2,3,3] = 1.0  # OK

    4. The script should run as expected the next time you open IRAF or Pyraf.

    Best!

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.