6.12.5.1.4. Output Adapter

Wrap any function into one that returns a normalised value.
Start python section to interscript/felix/model/funcat.py[4 /8 ] Next Prev Last
    46: #line 76 "felix_func.ipk"
    47: class output_adapter:
    48:   def __init__(self, func):
    49:     self.func = func
    50: 
    51:   def __call__(self, arg):
    52:     return ((self.func(arg),), {})
    53: 
End python section to interscript/felix/model/funcat.py[4]