Getting Started | Documentation | Glish | Learn More | Programming | Contact Us |
Version 1.9 Build 1556 |
|
Package | utility | |
Module | tasking |
The values of the inputs are stored as a record by inputsmanager for each tool function. For example, to retrieve the function arguments used last time that imager.setimage was run from the toolmanager:
- include 'inputsmanager.g' - inputs.show() Inputs: Row Time Keyword ------------------------------------- 1 2000/02/18/13:54:24 lastsave T - inputs.getvalues('imager', 'setimage') [nx=300, ny=300, cellx=[value=1.2, unit=arcsec], celly=[value=1.2, unit=arcsec], stokes=IQUV, doshift=T, phasecenter=[m0=[value=0, unit=deg], m1=[value=90, unit=deg], type=direction, refer=JUPITER], shiftx=[value=0, unit=arcsec], shifty=[value=0, unit=arcsec], mode=mfs, nchan=1, start=1, step=1, mstart=[value=0, unit=km/s], mstep=[value=0, unit=km/s], spwid=1, fieldid=1, facets=1]
The current inputs may be saved to a specific slot named by the keyword chosen from the toolmanager. The default is 'lastsave'.
The values of the inputs are stored permanently in an AIPS++ table. The name of the file is aips++.inputs.table and thus a separate table will be created for every directory in which AIPS++ is run. This default file location may be overridden using an aipsrc variable. For example, to put consolidateall inputs in one place:
inputsmanager.file: $HOME/aips++.inputs.table
Note that inputs are only saved from the toolmanager, and that the values are written to a disk-based table only when a save function is executed. A save is performed automatically on exit from glish. This means that you should always exit normally from glish if you wish the current inputs to be saved.
asynceval | Asynchronous eval |
clipboard | clipboard object |
inputsmanager | Tool for handling inputs for other tools |
logger | Tool for logging |
plugins | attach code to tools at runtime |
scripter | scripter tool |
servers | A tool for sending events between glish and precompiled executables |
toolmanager | Tool for using AIPS++ tools and functions |
types | Tool for defining types known to the tasking system |