View on GitHub

IRAF Community Distribution

IRAF maintained by the community

Home | Installation | Packages | X11IRAF | PyRAF | Forum

question about IRAF headers

bwilking wrote on Feb 12, 2009

Hi
 
I have written a script to analyse spectra which uses CRVAL1, CRPIX1, and CD1_1.  The spectra reside in a multispec file and these parameters are not currently set in the header.  When I add them to the header using hedit, I can no longer splot the spectrum. 
 
 It appears that the information IRAF uses to convert pixels to wavelength already reside in quotes  on header lines that begin WAT2_001, etc.  Is this overriding the information in CRVAL1, CRPIX1, and CD1_1?  If so, is there a way to suppress the conflicting information?  I attach the header from the multispec file in question.
 
Thanks!
 
Bruce A. Wilking, Chairperson
Department of Physics & Astronomy
University of Missouri-St. Louis
1 University Blvd.
St. Louis, MO  63121
(314) 516-5023
 

Post generated using Mail2Forum (http://www.mail2forum.com)

Last post on Feb 12, 2009