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.ave - Function Up: dish - Tool Previous: dish.accum - Function


dish.addstack - Function



Package dish
Module dish
Tool dish


Append new scans to the stack.


Synopsis
addstack(beg, end, inc)


Description
This function is used to add new scan numbers to the ``stack''. The stack is a construct (simply a vector of integers) which is used to organize a list of scans which will be operated on in some common way. Generally, it is used to assemble a list of scans which can then be averaged.


Arguments

beg   The beginning scan number
    Allowed: integer
    Default: F
end   The ending scan number
    Allowed: integer
    Default: beg
inc   the increment
    Allowed: integer
    Default: 1



Returns
Boolean


Example
d.addstack(10,50,2)       # append even scans from 10 through 50 to the stack
d.addstack(102)           # append scan 102 to the stack
d.addstack(105,108)       # append scans 105 through 108 to the stack
d.aver(d.tellstack())     # average all scans in the stack





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