to convert pixel numbers into wavelength [message #70192] |
Mon, 22 March 2010 06:57 |
sid
Messages: 50 Registered: January 1995
|
Member |
|
|
Hi,
My data is in fits format which is taken using 1k by 1k ccd. So the
data has 1024 rows and 1024 columns each having different count
values. I need to convert this pixel number by wavelength, to do that,
im having a relation like,
lamda(n)=lamda(0)+n(dispersion)
where,
dispersion=dispersion along x axis in units of wavelength per
pixel(known value)
n=pixel number(known value)
lamda(0)=wavelength at zeroth pixel(known value)
lamda(n)=wavelength at nth pixel(unknown value)
Now please give me some suggesions to get the lamda(n) for each n
value and finally to get the pixel values converted to wavelength with
the help of this above relation.
Note: rightnow i have averaged the counts along 1024 rows, so I have 1
row and 1024 columns, if i plot the data, my xaxis will be pixel
numbers and y axis will be counts per pixel.
regards
sid
|
|
|