Package PyDSTool :: Module common :: Class metric_weighted_deadzone_L2
[hide private]
[frames] | no frames]

Class metric_weighted_deadzone_L2

source code

object --+    
         |    
    metric --+
             |
            metric_weighted_deadzone_L2

Measures the standard "distance" between two 1D pointsets or arrays using the L-2 norm, after weighting by weights attribute. Then, sets distance vector entries to zero if they fall below corresponding entries in the deadzone vector/scalar. (Must set weights and deadzone vectors/scalars after creation, e.g. in a feature's _local_init method).

Instance Methods [hide private]
 
__call__(self, pts1, pts2) source code

Inherited from metric: Jac, __init__

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__call__(self, pts1, pts2)
(Call operator)

source code 
Overrides: metric.__call__