Package PyDSTool :: Module Model :: Class domain_test
[hide private]
[frames] | no frames]

Class domain_test

source code

       object --+            
                |            
 MProject.feature --+        
                    |        
MProject.feature_node --+    
                        |    
 MProject.qt_feature_node --+
                            |
                           domain_test

Instance Methods [hide private]
 
__init__(self, name, description='', pars=None)
Sub-features is an ordered sequence of QL or QT feature instances which are (by default) evaluated in this order on a trajectory segment unless evaluation method is overridden.
source code
 
evaluate(self, traj)
Default method: evaluate sub-features in order (assumes they are stored as a list).
source code
 
_find_idx(self)
Helper function for finding lowest index in trajectory meshpoints at which domain test first failed
source code

Inherited from MProject.feature_node: __getitem__, __repr__, __str__, propagate_verbosity, set_ref_traj

Inherited from MProject.feature_node (private): _residual_info

Inherited from MProject.feature: __call__, __eq__, __hash__, __ne__, finish, info, postprocess_ref_traj, prepare, reset_metric, validate

Inherited from object: __delattr__, __getattribute__, __new__, __reduce__, __reduce_ex__, __setattr__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, name, description='', pars=None)
(Constructor)

source code 

Sub-features is an ordered sequence of QL or QT feature instances which are (by default) evaluated in this order on a trajectory segment unless evaluation method is overridden.

For more sophisticated use of sub-features, they should be provided as a dictionary mapping feature names to the feature instance.

Overrides: object.__init__
(inherited documentation)

evaluate(self, traj)

source code 

Default method: evaluate sub-features in order (assumes they are stored as a list).

Can override with more sophisticated method (e.g. for use with a dictionary of sub-features).

Overrides: MProject.feature.evaluate

_find_idx(self)

source code 

Helper function for finding lowest index in trajectory meshpoints at which domain test first failed

Overrides: MProject.feature._find_idx