casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables
Classes | Functions | Variables
accum_pg Namespace Reference

Classes

class  accum_pg_

Functions

def defaults
 def paramgui(self, useGlobals=True): """ Opens a parameter GUI for this task.
def check_params
 This function sets the default values but also will return the list of parameters or the default value of a given parameter.
def description
def itsdefault

Variables

tuple accum_pg

Function Documentation

def accum_pg.check_params (   self,
  param = None,
  value = None 
)

This function sets the default values but also will return the list of parameters or the default value of a given parameter.

Definition at line 327 of file accum_pg.py.

def accum_pg.defaults (   self,
  param = None 
)

def paramgui(self, useGlobals=True): """ Opens a parameter GUI for this task.

If useGlobals is true, then any relevant global parameter settings are used. """ import paramgui

a=inspect.stack() stacklevel=0 for k in range(len(a)): if (string.find(a[k][1], 'ipython console') > 0) or (string.find(a[k][1], '<string>') >= 0): stacklevel=k break myf = sys._getframe(stacklevel).f_globals

if useGlobals: paramgui.setGlobals(myf) else: paramgui.setGlobals({})

paramgui.runTask('accum', myf['_ip']) paramgui.setGlobals({})

Definition at line 289 of file accum_pg.py.

Referenced by casa_in_py.update_params(), and casapy.update_params().

def accum_pg.description (   self,
  key = 'accum',
  subkey = None 
)

Definition at line 363 of file accum_pg.py.

def accum_pg.itsdefault (   self,
  paramname 
)

Definition at line 385 of file accum_pg.py.


Variable Documentation

Definition at line 399 of file accum_pg.py.