NRAO Home > CASA > CASA Toolkit Reference Manual
sd.rc - Function

5.1.1 Set the current rc parameters
Description

Set the current rc parameters (sd.rcParams, see list_rcparameters). The group is the grouping for the rc, eg for scantable.save the group is ’scantable’, for plotter.stacking, the group is ’plotter’, and so on. kwargs is a list of attribute name/value pairs, eg

      sd.rc(’scantable’, save=’SDFITS’)  
      

sets the current rc params and is equivalent to

      sd.rcParams[’scantable.save’] = ’SDFITS’  
      

Arguments





Inputs

group

Grouping for the rc

allowed:

string (”,’scantable’,’plotter’)

Default:

A list of attribute name/value pairs

allowed:

comma separated list of name/value pairs

Default:





Returns

Example

     # set scantable.save as ’SDFITS’ and scantable.storage as ’disk’  
     sd.rc(’scantable’,save=’SDFITS’, storage=’disk’)  
     # set insitu as False  
     sd.rc(’’,insitu=False)


More information about CASA may be found at the CASA web page

Copyright © 2016 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