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.select - Function Up: dish - Tool Previous: dish.scansub - Function


dish.sclear - Function



Package dish
Module dish
Tool dish


Clear the contents of the accumulator.


Synopsis
sclear()


Description
This function is used in averaging scans. It clears the contents of the accumulator, and should be used prior to using the accumulator for an averaging operation.



Returns
Boolean


Example
 d.sclear()    # clear the accumulator
 d.getc(35)    # retrieve calibrated scan 35
 d.accum()     # add the scan to the accumulator
 d.getc(36)    # retrieve calibrated scan 36
 d.accum()     # add the scan to the accumulator
 d.ave()       # average scans in the accumulator
 d.show()      # display the result on the plotter





next up previous contents index
Next: dish.select - Function Up: dish - Tool Previous: dish.scansub - 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