Welcome to iraf.net Tuesday, April 30 2024 @ 09:03 AM GMT
paco |
06/07/2011 06:10PM (Read 1363 times)
|
|
|
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
|
|
|
|
valdes |
06/07/2011 06:10PM
|
|
|
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
|
|
|
|
| |
|
Content generated in: 0.06 seconds |
|