Welcome to iraf.net Friday, May 17 2024 @ 08:11 AM GMT


 Forum Index > Help Desk > General IRAF New Topic Post Reply
 ( very ) bad resolution in DS9
   
jellyman
 11/27/2010 02:01PM (Read 4013 times)  
+----
Newbie

Status: offline


Registered: 11/27/2010
Posts: 9
Hello,I assume this must be a classic question by now, but I can not seem to solve it.I just installed iraf (v2.14) on a Macbook OS version 10.4.11. The problem appears when I try to load a fits image ( through ds9 ), with either disp or imedit, i get the image, but the resolution is very very low and bad ( and I can not work with that low resolution ). I have tried to change the stdimage value from imt512 to imt2048 or imt4096 even, ( by editing the login.cl file ) but nothing happens., I still get the same bad resolution of my image ( after restarting iraf and ds9 ).If anyone has any suggestions or ideas, I would be very grateful. Thank you very much.J.

 
Profile Email
 Quote
fitz
 11/27/2010 02:01PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
Most likely you are missing the frame buffer config file used by the system, i.e. either a /usr/local/lib/imtoolrc or a $HOME/.imtoolrc which is either a link or a copy of the $iraf/dev/imtoolrc file. Without this, you'll be using a default 512x512 frame buffer and will either see the image cropped to this size or resampled to the lower resolution.Running the iraf install script should create the /usr/local/lib/imtoolrc link, otherwise just copy $iraf/dev/imtoolrc to ~/.imtoolrc and restart DS9.

 
Profile Email
 Quote
jellyman
 11/27/2010 02:01PM  
+----
Newbie

Status: offline


Registered: 11/27/2010
Posts: 9
Hey!Thank you for your reply.
I do seem to have a .imtoolrc file in the home directory. I also have imtoolrc file in $iraf/dev/ as well as in /usr/local/lib/I opened all those files with nano, and they are identical. Still, the problem persists. Any other things I could try?Thanks,
J.

 
Profile Email
 Quote
fitz
 11/27/2010 02:01PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
Please better define 'bad resolution' problems. Otherwise, the frame buffer size is controlled by the 'stdimage' environment variable, if you are loading the image from the DS9 menu then the resolution issues are an issue with DS9 and not the use within IRAF.

 
Profile Email
 Quote
jellyman
 11/27/2010 02:01PM  
+----
Newbie

Status: offline


Registered: 11/27/2010
Posts: 9
Hey!I think i managed to solve the problem.
I was looking at the earlier posts in the forum, and found 2 other people with identical problems to mine. On one of them, you have suggested for the stdimage to be reset like so:
cl> reset stdimage = imt2048I tried this, with imt4096 ( thats what I use at work, on a linux machine ), and upon restarting ds9 i could see the image both with imedit, and disp, and imexamine, just fine. I do not understand why this worked, and the editing of the login.cl file did not, in anyway I do not complain. Thank you very much!J.

 
Profile Email
 Quote
jellyman
 11/27/2010 02:01PM  
+----
Newbie

Status: offline


Registered: 11/27/2010
Posts: 9
For some reason, every time I restart IRAF, I need to reset the stdimage value over and over again, in order for the display to work properly.. This is not a problem at the moment, but it might become annoying over time.Is there any way for this to became saved, or automated?Thanks again.

 
Profile Email
 Quote
fitz
 11/27/2010 02:01PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
Uncomment and change the default value in your login.cl file.

 
Profile Email
 Quote
jellyman
 11/27/2010 02:01PM  
+----
Newbie

Status: offline


Registered: 11/27/2010
Posts: 9
I see how dumb it was from me that I've changed the stdvalue in the login.cl file but never uncommented the command. It works great now. Thank you very much sir!

 
Profile Email
 Quote
   
Content generated in: 0.26 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