Constructing FunctionalDetector in Python

Hi Marco,

In the Python wrapper you need to subclass, the lambda is not supported. What you can do is to us the AbstractDetector that FunctionalDetector is based on and subclass that class and implement the g() function.

An example of this, that can be modified to your needs can be found at

Regards
/P