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

Classes

class  peel_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 peel_pg

Function Documentation

def peel_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 266 of file peel_pg.py.

def peel_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('peel', myf['_ip']) paramgui.setGlobals({})

Definition at line 234 of file peel_pg.py.

def peel_pg.description (   self,
  key = 'peel',
  subkey = None 
)

Definition at line 302 of file peel_pg.py.

def peel_pg.itsdefault (   self,
  paramname 
)

Definition at line 315 of file peel_pg.py.


Variable Documentation

Definition at line 324 of file peel_pg.py.