Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://www.stsci.edu/~mperrin/software/gpidata/gpitv/getting_started.html
Дата изменения: Sat Feb 15 03:42:02 2014 Дата индексирования: Sun Mar 2 08:52:40 2014 Кодировка: IBM-866 Поисковые слова: п п п п п п п п п п п п п п п п п п п |
GPItv can be started from a script or from the IDL command-line prompt. Start IDL and type
GPItv
It will display a default 2-d image.
To display an array that is in memory, pass its name to GPItv like this:
GPItv, array_name [, options]
where array_name is a two- or three-dimensional array to be displayed.
Similarly, to pass a FITS filename to GPItv, use the command:
GPItv, "fitsfile_name" [, options]
where fitsfile_name is a string (enclosed in quotes) containing the name of the FITS file (including extension) to be read. If the filename has a ”.gz” extension, it will be treated as a gzip compressed file and be automatically decompressed before being read.
For instance, the command
GPItv, 'test.fits'
will display the file ‘test.fits’ if it exists in the current directory.
GPItv can be started from a script or from the IDL command-line prompt. If starting from within a script, you may wish to specify the “/block” option to pause the script while the user works with GPItv, or else use Multi-Session mode to allow concurrent execution.
Figure 1: Overview of the main GPItv window.
In addition to menu functions and mouse modes described below, GPItv has several functions directly available from the main window: