Welcome to iraf.net Tuesday, April 30 2024 @ 09:03 AM GMT


 Forum Index > Help Desk > General IRAF New Topic Post Reply
 Spectroscopic WCS reference
   
paco
 06/07/2011 06:10PM (Read 1363 times)  
++---
Junior

Status: offline


Registered: 02/24/2006
Posts: 26
For a simple onedspec format fits file, does the wavelength for pixel 1 refer to the left (short wavelength) edge of the pixel? or the center? I think the left edge (as for an image WCS), but would like to be sure.And if I convert that fits file to wavelength, flux pairs, using wspectext, is the wavelength the left, or center, of the pixel with the specified flux?Thanks,
Frank Winkler

 
Profile Email
 Quote
valdes
 06/07/2011 06:10PM  
+++++
Active Member

Status: offline


Registered: 11/11/2005
Posts: 728
A wavelength function is continuous. But if you mean what happens when a point is plotted or the output of wspectext the convention is always the center of the pixel. IRAF and FITS put the integer pixel coordinate (e.g. [1,1]) at the center of a pixel and the output of wspectext is for each integer pixel coordinate. It is also generally the case that a pixel flux, which is like an aperture flux from a continuous distribution, is taken to have that flux at the center of the pixel.I hope this helps,
Frank Valdes

 
Profile Email
 Quote
   
Content generated in: 0.06 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