Trees | Indices | Help |
|
---|
|
|
|||
AbstractParam Base class for all Param classes. |
|||
ParamMeta This metaclass modifies the creation of AbstractCompoundParam instances in the following ways: |
|||
AbstractCompoundParam A collection of Params that itself is a Param. |
|||
ParamContainer This is a base class for regular objects (not desriptors) which will hold params. |
|||
FloatParam | |||
IntParam | |||
StringParam | |||
BoolParam | |||
DictParam | |||
ListParam |
|
|||
|
|||
|
|||
|
|||
|
|||
|
|
|||
__package__ =
|
|
Takes any object that contains params and returns a dictionary of all the param values keyed by param name. Compound params are represented as nested dictionaries.
|
Updates the values of all params in an object using the values specified in a dictionary of values keyed by param name.
|
Enables access to a param value on an object via an abstract param reference. The abstract reference is the one which begins with a class rather than an instance. Example, for an instance a1 of class Atom: x = get_obj_param_value(a1, Atom.coord.x) x should have the value of a1.coord.x @param obj: the instance from which to get the param value @param param: an abstract Param reference @type param: AbstractParam |
Set the value of a param on an instance by specifying the instance, an abstract param reference, and the value. Example, for an instance a1 of class Atom: set_obj_param_value(a1, Atom.coord.x, 5) This should set the value of a1.coord.x to 5.
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Wed Oct 26 00:59:32 2016 | http://epydoc.sourceforge.net |