Welcome to iraf.net Tuesday, April 16 2024 @ 09:39 PM GMT


 Forum Index > Help Desk > General IRAF New Topic Post Reply
 ds9 locations
   
duvall
 05/21/2015 05:36AM (Read 1158 times)  
+++--
Chatty

Status: offline


Registered: 03/08/2006
Posts: 59
In my old setup at Stanford (linux iraf; version 6 ds9), I could get nice positions within an image by loading the image into ds9 using the display task (say after setting stdimage=imt800) and putting the cursor onto a location and reading off the position in either the 'physical' or 'image' readout at the top of the page.

In my new setup at MPS in Gottingen, Germany (linux iraf; version 7.2 ds9), the readouts of the cursor are associated with the imt800 and go from 1--\$this->_split2($m[0])800 and don't seem to know about the image that has been loaded. Is there some configuration parameter that I should know about? I can load the image into ds9 from the unix command line( ds9 image), but I like using the display task. Is there some way to get this to work?
Thanks.
Tom

 
Profile Email
 Quote
fitz
 05/22/2015 04:47PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
Frame buffer sizes are defined in two files: the dev$graphcap file that IRAF tasks use (i.e. the "imt800" entry) and the "imtoolrc" file used by the server (ds9 or ximtool), IRAF tells the server which size to use by passing the configuration number and not the actual size. The install script will put the dev$imtoolrc file in /usr/local/lib/imtoolrc as one of the standard locations, but ds9/ximtool will also look for a $HOME/.imtoolrc file before using a builtin-table. It sounds like the configuration is being found since you're seeing an 800x800 size.

That said, the ds9 v7.1 and later versions have known issues with reading back the cursor that can only be fixed by using an earlier version of ds9. Other problems with ds9 can be fixed by not using the default unix sockets and forcing the inet socket to be used by defining

setenv IMTDEV inet:5137

in the terminal before logging into the CL. You might also check the SAO site to see if these bugs have been fixed in a newer/beta version.

 
Profile Email
 Quote
duvall
 05/27/2015 06:08AM  
+++--
Chatty

Status: offline


Registered: 03/08/2006
Posts: 59
Thanks for the tips. I guess I didn't realize that I could just use ximtool. That seems to work fine for me.
Tom

 
Profile Email
 Quote
   
Content generated in: 0.11 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Anonymous users can post 
Filtered HTML Allowed 
Censored Content 
dog allergies remedies cialis 20 mg chilblain remedies


Privacy Policy
Terms of Use

User Functions

Login