|
User Documentation |
|||||||||
prev file | next file | ||||||||||
SUMMARY: fields | routine DETAILS: routine | ||||||||||
./guide keep.pro
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.
getnod,30 fileout,'mysave.fits' keep getnod,32 keep getfs,48,/nofold keep ; saves buffer 0 by default keep,1 ; saves buffer 1
Parameters | |
dc |
a data container, or an integer global buffer number. Defaults to the primary data container (buffer 0). |