Posted: Tue Feb 14, 2006 4:58 am Post subject: imlintran
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?
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.
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