Produced by IDL 7.1.1
User Documentation

./guide
keep.pro

Last modification date:
Wed Sep 28 13:27:09 2016

keep

procedure keep[, dc]

Save a spectrum to the output file.

The data in the primary data container (buffer 0) is saved to the currently opened output file. The user can optionally save another buffer (0 to 15) or a specific data container by supplying a value for the dc parameter. Use fileout to open an output file. Use kget to retrieve data from the output file (nget can also be used, the file can also be opened using filein but only if some other file is already opened as the output file (the same file can not be opened by filein and fileout at the same time). Only spectral line data can be saved to disk at this time.

Examples
   getnod,30
   fileout,'mysave.fits'
   keep
   getnod,32
   keep
   getfs,48,/nofold
   keep  ; saves buffer 0 by default
   keep,1 ; saves buffer 1
 
Version
$Id$

Parameters
dc
in, optional
data container or integer (def. 0)
a data container, or an integer global buffer number. Defaults to the primary data container (buffer 0).


Produced by IDLdoc 1.6 on Wed Sep 28 13:27:35 2016