DS9 not displaying full FITS file
Paul S. Hardersen wrote on Jan 15, 2009
Hey Mike -- When displaying a fits file on DS9 (IRAF on a Mac), the image is truncated. I thought changing the size of the 'imt' variable in login.cl would fix the problem, but it has not. Suggestions? Thanks. Paul
Mike Fitzpatrick wrote on Jan 15, 2009
If by 'imt variable' you mean the 'stdimage' value, then yes, it should change the frame buffer size. You can do a "show stdimage" to see the current value, and use the GDEVICES command to see what the options are.
Reasons it might not: if you display an image but then change the stdimage value on the command line you should type 'flpr' to force the x_tv.e binary to restart and use the new value. Of course if you changed the login.cl and logged out and back in this won't matter. The frame buffer size is passed in by number, not an actual dimension string. DS9 et all rely on a /usr/local/lib/imtoolrc link to point to the table to translate this index to a size. The file gets created when you run the install script, if it isn't there or doesn't point to an actual file, you can copy the dev$imtoolrc file to ".imtoolrc" in your unix login directory and restart ds9 to find it. I don't know for sure, but wouldn't be surprised if there are problems with this file if you use the SciSoft distro on a Mac.
Cheers,
-Mike
Reasons it might not: if you display an image but then change the stdimage value on the command line you should type 'flpr' to force the x_tv.e binary to restart and use the new value. Of course if you changed the login.cl and logged out and back in this won't matter. The frame buffer size is passed in by number, not an actual dimension string. DS9 et all rely on a /usr/local/lib/imtoolrc link to point to the table to translate this index to a size. The file gets created when you run the install script, if it isn't there or doesn't point to an actual file, you can copy the dev$imtoolrc file to ".imtoolrc" in your unix login directory and restart ds9 to find it. I don't know for sure, but wouldn't be surprised if there are problems with this file if you use the SciSoft distro on a Mac.
Cheers,
-Mike
Last post on Jan 15, 2009