Welcome to iraf.net Tuesday, April 30 2024 @ 08:39 AM GMT


 Forum Index > Help Desk > General IRAF New Topic Post Reply
 splot wavelength calibration
   
heather
 05/10/2011 07:07PM (Read 2019 times)  
+----
Newbie

Status: offline


Registered: 05/10/2011
Posts: 2
I'm looking at spectra which were originally SDSS stellar spectra, rebinned to a linear wavelength scale by IDL code in the SSPP (segue pipeline)Looking at the header of the fits file, CRVAL1 = 3850 and CD1_1 = 1. (both Angstroms)When I plot the data in splot, the first pixel has wavelength 3851 A. And all subsequent pixels have wavelengths one A more than they should.I'm using IRAF 2.14.1 on a Linux box running Redhat Enterprise 5 (64 bit)The fits file can be found at
http://astronomy.case.edu/heather/boss.lineindex.fit (spectra in HDU 0) and a plot of the wavelength of the first pixel in splot is at
http://astronomy.case.edu/heather/4iraf.jpgAny suggestions would be much appreciated.thanks
Heather Morrison

 
Profile Email
 Quote
fitz
 05/10/2011 07:07PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
Try adding a CRPIX1 = 1 keyword to the headers to specify the starting pixel. Otherwise the value is assumed to be zero and since the image index starts at one .......Frank may have additional comments about a better set of keywords to add.

 
Profile Email
 Quote
heather
 05/10/2011 07:07PM  
+----
Newbie

Status: offline


Registered: 05/10/2011
Posts: 2
That fixed it. Thanks very much for the quick reply, Mike.I'll tell the SSPP folks that they should add that keyword to the fits files they produce.Heather

 
Profile Email
 Quote
   
Content generated in: 0.10 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Anonymous users can post 
Filtered HTML Allowed 
Censored Content 
dog allergies remedies cialis 20 mg chilblain remedies


Privacy Policy
Terms of Use

User Functions

Login