next up previous contents
Next: RECALL-SPECTRUM Up: List of commands in Previous: READ-GSD-MAP   Contents


READ-SPECTRUM

Push the stack and transfer the desired spectrum from the nominated SPECX-format file to the X-register. An error will be notified if there is no open file with READ access -- use SET-FILE-ACCESS to modify access if necessary.

Relevant flags:
NO_SPECTRA I4 Number of spectra in file just read.

Examples:

    >> read-spectrum <CR>
    File number? (^z to list) [1] ^z <CR>
     1  l483small.dat                             R 
     2  test.dat                                  W 
    File number? (^z to list) [1]  <CR>
    Scan? 1 <CR>
    ..



Jamie Leech 2004-08-16