Getting Started Documentation Glish Learn More Programming Contact Us
Version 1.9 Build 1488
News FAQ
Search Home


next up previous contents index
Next: dish.savestate - Function Up: dish - Tool Previous: dish.saxis - Function


dish.save - Function



Package dish
Module dish
Tool dish


Save an SDRecord to file.


Synopsis
save(sdrec, outfile)


Description
This command, along with d.keep(), is the mechanism used to store results to disk. save allows the user to specify the SDrecord to be written, while keep simply writes the spectrum in globalscan1.



Arguments

sdrec   SDRecord to be saved
    Allowed: SDRecord
    Default: currently viewed
outfile   outfile (scan group) to be written to
    Allowed: string
    Default: fileout, as listed by d.files()


Returns
T (if successful)


Example
- d.open('mydata')
- d.fileout('newfile')
- sdrec := d.getc(10)
- d.save(sdrec);





next up previous contents index
Next: dish.savestate - Function Up: dish - Tool Previous: dish.saxis - Function   Contents   Index
Please send questions or comments about AIPS++ to aips2-request@nrao.edu.
Copyright © 1995-2000 Associated Universities Inc., Washington, D.C.

Return to AIPS++ Home Page
2006-08-01