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


next up previous contents index
Next: inputsmanager.savevalues - Function Up: inputsmanager - Tool Previous: inputsmanager - Constructor


inputsmanager.getvalues - Function



Package utility
Module tasking
Tool inputsmanager


Get inputs for a tool and function


Synopsis
getvalues(tool, method, keyword)


Description
Get the inputs for a given tool, function, and keyword. This returns a record containing the argument name and value.



Arguments

tool   Name of tool
    Allowed: String
    Default: None
method   Name of function
    Allowed: String
    Default: None
keyword   Name of keyword
    Allowed: String
    Default: 'lastsave'


Returns
Record of values


Example
- 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]





next up previous contents index
Next: inputsmanager.savevalues - Function Up: inputsmanager - Tool Previous: inputsmanager - Constructor   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-10-15