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 

Imexam, ds9 and regions

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



Joined: 21 Jun 2006
Posts: 6
Location: Hamilton

PostPosted: Tue Dec 02, 2008 3:33 pm    Post subject: Imexam, ds9 and regions Reply with quote

Hi,

I recently upgraded my scisoft on my mac, and I've noticed that imexam seems to function differently. It now prompts me with: "display frame (1Smile (1):" where as it used to go straight to examining the current loaded image. Is there a way to turn this feature off?

Also, I've noticed I can no longer select or move regions like I used to while imexam is on. I'm not sure if this is an issue with ds9 or with iraf. Any ideas how to restore it to how it used to work?

Thanks very much for your help!

cheers,
Elizabeth
Back to top
View user's profile Send private message Visit poster's website
jturner
IRAF Guru


Joined: 29 Dec 2005
Posts: 163
Location: Chile

PostPosted: Tue Dec 02, 2008 7:21 pm    Post subject: Re: Imexam, ds9 and regions Reply with quote

ewehner wrote:
It now prompts me with: "display frame (1Smile (1):" where as it used to go straight to examining the current loaded image. Is there a way to turn this feature off?

That would be nice!

James.
Back to top
View user's profile Send private message
fitz
Site Admin


Joined: 30 Sep 2005
Posts: 3257
Location: Tucson

PostPosted: Wed Dec 03, 2008 9:38 pm    Post subject: Reply with quote

The 'frame' parameter is by default a query param for the task. If you want to make it hidden and avoid the prompt, and if you're happy with the default value, try the following:

Code:
cl> imexamine.frame.p_mode='h'


The next time you run the task is should go straight to the cursor (this will last until you next unlearn the task).

-Mike
Back to top
View user's profile Send private message
valdes
IRAF Guru


Joined: 11 Nov 2005
Posts: 677

PostPosted: Thu Dec 04, 2008 6:47 pm    Post subject: Reply with quote

In fact your are correct that if you only typed "imexam" it used to just go to what was loaded in frame 1. The code was accidentally modified prior to the last release that broke this behavior. The behavior in a future release will return to what it was before. Obviously for now you can simply live with the prompt or hide it as was suggested.

The prevous behavior was intended to either be "imexam" to go to frame 1 and read the image name from the display or "imexam image(s) frame" to be like the display task and load the frame for you if it does not already contain the desired image. If you hide the frame then you would not be queried and you would need to explictly set the frame when automatically displaying a new image.

Sorry for the confusion and thank you for pointing out this change.

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