View on GitHub

IRAF Community Distribution

IRAF maintained by the community

Home | Installation | Packages | X11IRAF | PyRAF | Forum

display command disables ds9 scale menu

Roland Roberts wrote on Jan 06, 2009

When I display an image from within IRAF, ds9's scale menu goes gray and I cannot change the image scaling. When I run ds9 directly from the shell, or via xpaset, this doesn't happen.

How can I keep it from being disabled?

roland

Mike Fitzpatrick wrote on Jan 06, 2009

How can I keep it from being disabled?


Um, display from the shell 8-)

Seriously, when you display from IRAF the scaling is done in the client, DS9 is acting as a server and so doesn't have direct access to the pixels and so scaling doesn't make sense (i.e. taking the 95% histogram scaling of the IRAF z-scaled display pixels probably isn't what you want anyway). This could be made to work in the future, but it would have to be a change on the DS9 side.

-Mike

Roland Roberts wrote on Jan 06, 2009

fitz

How can I keep it from being disabled?

Um, display from the shell 8-)

Okay, what's one more window open among friends anyway :-)

I hadn't realized IRAF was doing the scaling. I just need to write a short-cut for
ecl> !xpaset ds9 fits FILE < FILE

roland

Last post on Jan 06, 2009