|
|||
NRAO Home > CASA > CASA Cookbook and User Reference Manual |
|
1.4.5.6 The tget Command
The tget command will recover saved values of the inputs of tasks. This is a convenient alternative to using the Python execfile command (see above).
Typing tget without a taskname will recover the saved values of the inputs for the current task as given in the current value of the taskname parameter.
Adding a task name, e.g. tget <taskname> will recover values for the specified task. This is done by searching for 1) a <taskname>.last file (see § 1.4.5.8 below), then for 2) a <taskname>.saved file (see § 1.4.5.5 above), and then executing the Python in these files.
For example,
tget # read saved inputs from gaincal.last (or gaincal.saved)
inp # see these inputs!
tget bandpass # now get from bandpass.last (or bandpass.saved)
inp # task is now bandpass, with recovered inputs
More information about CASA may be found at the
CASA web page
Copyright © 2010 Associated Universities Inc., Washington, D.C.
This code is available under the terms of the GNU General Public Lincense
Home |
Contact Us |
Directories |
Site Map |
Help |
Privacy Policy |
Search