NRAO Home > CASA > CASA Cookbook and User Reference Manual
1.4.5.7 The tput Command

The tput command will save the current parameter values of a task to its <taskname>.last file. This is a shorthand to saveinputs and is a counterpart to tget.

Typing tput without a taskname will save the 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 save the values for the specified task.

For example,

   default(’gaincal’)   # set current task to gaincal and default  
   tget                 # read saved inputs from gaincal.last (or gaincal.saved)  
   inp                  # see these inputs!  
   vis = ’new.ms’       # change the vis parameter  
   tput                 # save back to the gaincal.last file for later use


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