Index of /instruments/software/secchi/secchi_software_in_ssw/idl/display/sunloop/vicar
Name Last modified Size
Parent Directory -
gethost.pro 2010-01-11 05:47 2.4K
idlvicar.pro 2010-01-11 05:47 401
read_vicar.pro 2010-01-11 05:47 8.0K
read_vicar_label.pro 2010-01-11 05:47 2.2K
vicgetpar.pro 2010-01-11 05:47 3.4K
vicsetpar.pro 2010-01-11 05:47 2.5K
write_vicar.pro 2010-01-11 05:47 5.5K
There are two main routines, read_vicar and write_vicar.
Both have help sections within the code, but here's a quick
example of how to use them. vicsetpar, vicgetpar and gethost
are called by the main programs.
image=read_vicar('vicar.img', lab, /flip)
reads a vicar image, stores the ascii label in the variable 'lab',
flips the image so it is displayed correctly in IDL. Puts the
image data in the IDL array 'image'.
write_vicar,'vicar.img', image, lab
writes the IDL array 'image' to a VICAR file with an ascii label from 'lab'.
Ashwin
x6960