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.divide - Function Up: dish - Tool Previous: dish.dcbase - Function


dish.delete - Function



Package dish
Module dish
Tool dish


Delete a single entry from the stack.


Synopsis
delete()


Description
This function is used to remove an entry from 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.



Returns
Boolean


Example
- d.addstack(10,50,2) 
- d.tellstack()       
21  entries in the stack.
[10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50] 
- d.delete(22)
- d.tellstack()
20  entries in the stack.
[10 12 14 16 18 20 24 26 28 30 32 34 36 38 40 42 44 46 48 50]





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