Package PyDSTool :: Module MProject :: Class extModelInterface
[hide private]
[frames] | no frames]

Class extModelInterface

source code

 object --+        
          |        
dsInterface --+    
              |    
 ModelInterface --+
                  |
                 extModelInterface

Interface from a trajectory of numerical data and test conditions providing external evaluation criteria for a model. Optional conditions (object) argument used to specify these criteria.

Instance Methods [hide private]
 
__init__(self, traj=None, conditions=None, compatibleInterfaces=None)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
set_test_traj(self, traj)
Do any user-defined preprocessing to the given trajectory, including converting it to a different type of trajectory.
source code
 
ensure_has_test_traj(self)
Never needs to recompute trajectory as it is fixed, so always returns False.
source code
 
has_test_traj(self) source code
 
get_test_traj(self, force=False)
Called by another interface.
source code

Inherited from ModelInterface: AuxVars, Jacobian, JacobianP, MassMatrix, Rhs, __call__, evaluate, get, postprocess_test_traj, prepare_conditions, set, setup_conditions

Inherited from ModelInterface (private): _get_initiator_cache

Inherited from dsInterface: query

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Class Variables [hide private]

Inherited from ModelInterface (private): _trajname

Inherited from dsInterface (private): _querykeys, _setkeys

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, traj=None, conditions=None, compatibleInterfaces=None)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

get_test_traj(self, force=False)

source code 
Called by another interface.
Optional force argument is ignored for this class, as the
 trajectory is fixed.

Overrides: dsInterface.get_test_traj