View on GitHub

IRAF Community Distribution

IRAF maintained by the community

Home | Installation | Packages | X11IRAF | PyRAF | Forum

dispcor not working with ecidentify

astronick wrote on May 29, 2009

Hello all,

I'm trying to reduce some echelle spectrograph data, but I'm hitting a problem applying my wavelength solution using DISPCOR.

I've identified the ThAr lines using ECIDENTIFY, and got a good solution for all the orders. I applied this to a test image using REFSPECTRA; the reference spectrum was accepted and the correct value for REFSPEC1= appeared in the test file's header.

However, running DISPCOR on the test file produces the following error:

Warning: Cannot open file (database/idthar_df.ec)

and no processing is done. The actual filename it should be looking for (and which has the wavelength solution in it) is database/ecthar_df.ec - it looks like DISPCOR is trying to use an IDENTIFY solution rather than ECIDENTIFY.

Any ideas? Thanks!

astronick wrote on May 29, 2009

Problem solved - turns out due to a typo I was running DISPCOR on the spectrum image rather than the extracted spectra. Works fine now.

Last post on May 29, 2009