Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://hea-www.harvard.edu/RD/saotng/autoconfig.html
Дата изменения: Unknown Дата индексирования: Tue Oct 2 00:26:16 2012 Кодировка: Поисковые слова: п п п п п р п c 1999 s4 linear |
SAOtng supports multiple frame buffers, so that more than one image can be loaded simultaneously. Images can be blinked, or tiled (so that they appear on screen at the same time). Tiled images can have their color maps synchronized, etc. Support for multiple frames requires that the frame size of each be the same. The initial frame size can be specified using -framesize (or -framewidth and -frameheight), with a 512x512 frame being created by default. Frame size also can be specified with the IRAF .ximtoolrc file . Once specified, the frame size is fixed, but ...
Users of the old SAOimage program are used to having the frame size adjust itself as each new image is loaded. This autoconfigure functionality is available in SAOtng so long as frame #1 alone is used. (SAOimage was a single frame display program, and so the restriction on autoconfiguring a single frame was implicit). To specify autoconfigure of frame #1, use the -autoconfig switch or the SAOTNG_AUTOCONFIG environment variable. By default, this is turned on.
When autoconfigure is turned on, the framesize will be reconfigured each time a new image is loaded. SAOtng will choose a framesize to be the minimum of the new image size and the maxsize specified for memory images. (The latter is specified with the -maxsize switch or the SAOTNG_MAXSIZE environment variable). If not enough memory can be allocated to reconfigure the frame, then the default frame size will be used. The zoom factor is reset to 1. NB: Frame size must be even in each dimension; values will be decremented if odd values are specified.
If only frame #1 is being used, then the Frames menu will display 2 additional autoconfigure options:
If a second frame is created, the frame size of all frames becomes fixed at the current configuration. In this case, the two autoconfig menu options are replaced by tile and blink options. To re-enable autoconfig, all frames except frame #1 must be deleted.
NB: When manually changing the size of a frame, SAOtng deletes the current markers. We hope to remove this limitation in a future release.