Welcome to iraf.net Saturday, May 11 2024 @ 01:27 PM GMT
raa |
02/14/2006 04:58AM (Read 3826 times)
|
|
|
Status: offline
Registered: 02/13/2006
Posts: 3
|
Hi,I am new to IRAF. I have to deproject a disc galaxy. From literature it seems that the task "imlintran" is capable of doing it. Now the help file gives that the transformation is:xt = xt * cos (xrotation) - yt * sin (yrotation)
yt = xt * sin (yrotation) + yt * cos (yrotation)where xrotation, yrotation should be in degrees. The problem I am facing is with regard to cos(yrotation). Is it correct? should it be cos(xrotation) as the usual rotation matrix?Raa
|
|
|
|
fitz |
02/14/2006 04:58AM
|
|
|
Status: offline
Registered: 09/30/2005
Posts: 4040
|
The help page is correct, at least in the sense that the code is implemented that way. I can't explain the difference off the top of my head, but keep in mind there are separate angles specified for the X and Y rotation where the standard rotation matrix assumes orthogonal axes and only one rotation angle. Perhaps you can dig up the derivation that arrives at the cos(yrot) term, I couldn't find it in the online docs.-Mike
|
|
|
|
| |
|
Content generated in: 0.08 seconds |
|