write_stxm5.pro

This procedure will write a STXM 5 data file. The calling sequence is

    IDL> write_stxm5, filename, $
                      sm_par, $
                      image_data, $
                      success=success, $
                      /help

filename
The name of the file you want to write. The extension must be .sm, otherwise it can't be read later.

sm_par
The sm_par structure holding the header information.

image_data
The image_data array in raw integers (not the calibrated array!)

success
Will be returned holding a 1 if the writing was successful, and a 0 if it was not.



Holger Fleckenstein 2008-07-08