Introduction To Linux & IDL: Chia-Hsien Lin
Introduction To Linux & IDL: Chia-Hsien Lin
Chia-Hsien Lin
path:
I The symbol / at the beginning of a path means the root directory
e.g., cd / means go to the root directory
cd /home means go to a directory called home which is below the root
directory
I The symbol / is also used to separate mother directory and its
subordinate directory
e.g., cd /user/local means go to a directory local which is under
the directory user which is under the root directory
I go to a directory below the current directory:
I go back to a directory above the current directory
I return to your home directory: simply type cd and enter
I the symbol ∼ represents your home directory
I the symbol .. represents the mother directory of the current one
I the symbol . represents the current directory
restore,filename=’<your filename>’
data types
How to create arrays of different data types:
intarr,fltarr,strarr,dblarr,indgen
Loops (for ... endfor), selections (if ... endif)
Output plots to a postscript file
Image Filtering
1 read one image
Image Cropping
1 read one image