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 

imlintran

 
Post new topic   Reply to topic    iraf.net Forum Index -> Applications
View previous topic :: View next topic  
Author Message
raa



Joined: 13 Feb 2006
Posts: 3

PostPosted: Tue Feb 14, 2006 4:58 am    Post subject: imlintran Reply with quote

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
Back to top
View user's profile Send private message
fitz
Site Admin


Joined: 30 Sep 2005
Posts: 3256
Location: Tucson

PostPosted: Thu Feb 16, 2006 4:17 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    iraf.net Forum Index -> Applications 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