Posted: Tue Dec 02, 2008 3:33 pm Post subject: Imexam, ds9 and regions
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 (1 (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?
Posted: Tue Dec 02, 2008 7:21 pm Post subject: Re: Imexam, ds9 and regions
ewehner wrote:
It now prompts me with: "display frame (1 (1):" where as it used to go straight to examining the current loaded image. Is there a way to turn this feature off?
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).
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.
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