( very ) bad resolution in DS9
jellyman wrote on Nov 27, 2010
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.
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.
Mike Fitzpatrick wrote on Nov 27, 2010
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.
Running the iraf install script should create the /usr/local/lib/imtoolrc link, otherwise just copy $iraf/dev/imtoolrc to ~/.imtoolrc and restart DS9.
jellyman wrote on Nov 27, 2010
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.
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.
Mike Fitzpatrick wrote on Nov 27, 2010
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.
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.
jellyman wrote on Nov 27, 2010
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 = imt2048
I 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.
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 = imt2048
I 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.
jellyman wrote on Nov 27, 2010
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.
Is there any way for this to became saved, or automated?
Thanks again.
Mike Fitzpatrick wrote on Nov 27, 2010
Uncomment and change the default value in your login.cl file.
jellyman wrote on Nov 27, 2010
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!
Thank you very much sir!
Last post on Nov 27, 2010