Submit a Story  :  IRAF Links  :  Past Polls  :  Calendar  :  Advanced Search  
     iraf.net
FAQ
 Forum FAQForum FAQ   Forum SearchForum Search   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Spectroscopic WCS reference

 
Post new topic   Reply to topic    iraf.net Forum Index -> General IRAF
View previous topic :: View next topic  
Author Message
paco
Active IRAF User


Joined: 24 Feb 2006
Posts: 23

PostPosted: Tue Jun 07, 2011 6:10 pm    Post subject: Spectroscopic WCS reference Reply with quote

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
Back to top
View user's profile Send private message
valdes
IRAF Guru


Joined: 11 Nov 2005
Posts: 676

PostPosted: Tue Jun 07, 2011 6:19 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    iraf.net Forum Index -> General IRAF All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2009 phpBB Group
 Copyright © 2005-2011 iraf.net
 All trademarks and copyrights on this page are owned by their respective owners.
Powered By Geeklog 
Created this page in 0.10 seconds