Welcome to iraf.net Tuesday, April 30 2024 @ 04:08 PM GMT


 Forum Index > Help Desk > Applications New Topic Post Reply
 isoexam
   
Anonymous: JN
 06/06/2006 03:47PM (Read 5266 times)  



Hi-I ran ellipse (stsdas.analysis.isophote.ellipse) on one of my images and it successfully made an output table (gal.tab). Now I am trying to overplot the ellipse contours from the table onto my galaxy fits image in ds9. I can plot the contours when I set ellipse.device = stdgraph (they are plotted in a new stdgraph window), but I cannot see the the contours when I select, e.g., "red" as the device which is supposed to show up in ds9. When I run isoexam with device=red, I do not get any errors and my galaxy image "re-loads" in ds9. So for some reason the contour lines are not showing up. Has anyone else experienced this problem?Thanks,
Jenica

 
 Quote
fitz
 06/06/2006 03:47PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
I just tried this using the latest IRAF/DS9 as[code:1:11775e63c0]
cl> ellipse dev$wpix foo.tab
cl> isoexam foo.tab dev=red
[/code:1:11775e63c0]and saw no problems. You might try issuing a "gflush" command after isoexam, especially if you're using an older IRAF version (there was a known bug with the graphics not flushing automatically). If this is an especially large table the graphics buffer may be too small and can be resized with[code:1:11775e63c0]
cl> reset cmdbuflen = 256000 ; gflush
[/code:1:11775e63c0]The 'gflush' here reinitializes the graphics system and is required. You can put this in your login.cl/loginuser.cl for future use (or edit the value there and uncomment). Lastly, try doing[code:1:11775e63c0]
cl> set disable_wcs_maps = ""
[/code:1:11775e63c0]before running ISOEXAM, this works around an old bug in DS9. You can also try a newer DS9, but if you still have problems please post your IRAF and DS9 version and platform as well as an example like the above using dev$pix and default parameters (unlearning tasks involved couldn't hurt either). Hope this helps.Cheers,
-Mike

 
Profile Email
 Quote
Anonymous: JN
 06/06/2006 03:47PM  



So I did get it to work, but it was kind of strange. I used the commands is> set disable_wcs_maps = ""
is> reset cmdbuflen = 256000 ; gflush
is> isoexam n1199.tab dev=redand still could not see the red contour lines. But when I quit the ds9/isoexam task and then typed "gflush" the red contour lines appeared! I am not sure if that is normal or not...I am using ds9 version 4.0b7 and Iraf version 2.12.2-EXPORT. Thanks for your help!-Jenica

 
 Quote
Anonymous: JN
 06/06/2006 03:47PM  



OK, after re-reading your response *carefully*, I see that typing gflush after isoexam is expected to work. I guess it is time to update our Iraf version!

 
 Quote
fitz
 06/06/2006 03:47PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
From within a graphics cursor, using ":.gflush" does the same thing. Problem is I'm not sure whether the task uses a trafitional graphics cursor or not (I think it does).Could also just be an older STSDAS, or at least one linked against the older iraf where the gflush was required.-Mike

 
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