IDL Basics

Representation of rows and columns 1.
procedures To represent a line, such as
1234
format used is: e = [1,2,3,4]
Programs to be represented, if a, as
. 1
2
. 3
. 4
used format is:
E = [[. 1], [2], [. 3], [. 4]]

2. dialog_pickfile ()
whose role is: to open a file dialog box, and returns the file name
**

3. there must have for endfor
**
for one to one and endfor

4. IDL in video format
BSQ [the Samples, Lines, bands Scrap]
BIL [the Samples, bands Scrap, Lines]
the BIP [bands Scrap, the Samples, Lines]
**

5. What is frequently used lun

**
When using function openr, openw, etc., often used lun this variable, the access to information, its meaning and functions are as follows

IDL>OpenR,lun,filename,/Get_Lun

This command will use implicit Get_Lun command as a result of the logical device number is stored in the variable Lun. This is a logical device number of the most commonly used method for obtaining, particularly in the IDL program. (Note that the variable name is not necessarily Lun. Can give your favorite name. If you open several files, you need several different names.)
Upon completion of the operation of the logic device number (that is, I do not want to to read and write files), available Free_Lun command to turn it off. Such as:
IDL> Free_Lun, Lun

Released eight original articles · won praise 0 · Views 107

Guess you like

Origin blog.csdn.net/weixin_43955546/article/details/104283270