Package esys :: Package modellib :: Module input :: Class InterpolatedTimeProfile
[hide private]
[frames] | no frames]

Class InterpolatedTimeProfile

                       object --+        
                                |        
escript.modelframe.LinkableObject --+    
                                    |    
      escript.modelframe.ParameterSet --+
                                        |
                                       InterpolatedTimeProfile

Returns values at each time. The values are defined through given values at time node.

value[i] defines the value at time nodes[i]. Between nodes linear interpolation is used.

For time t<nodes[0], value[0] is used and for t>nodes[l], values[l] is used where l=len(nodes)-1.

Instance Methods [hide private]
 
__init__(self, **kwargs)
Creates a ParameterSet with given parameters.
 
out(self)
current value

Inherited from escript.modelframe.ParameterSet: __delattr__, __iter__, __repr__, checkLinkTargets, declareParameter, declareParameters, releaseParameters, showParameters, toDom, writeXML

Inherited from escript.modelframe.LinkableObject: __getattr__, __setattr__, getAttributeObject, hasAttribute, trace

Inherited from object: __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __str__

Class Methods [hide private]

Inherited from escript.modelframe.ParameterSet: fromDom

Instance Variables [hide private]
  node
(in) list of time nodes
  t
(in) current time
  values
(in) list of values at time nodes
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, **kwargs)
(Constructor)

 

Creates a ParameterSet with given parameters.

Overrides: object.__init__
(inherited documentation)

out(self)

 

current value

Link against this method to get the output of this model.