omas.machine_mapping_function

omas.machine_mapping_function(__regression_arguments__, **regression_args)[source]

Decorator used to identify machine mapping functions

Parameters

**regression_args – arguments used to run regression test

NOTE: use inspect.unwrap(function) to call a function decorated with @machine_mapping_function

from another function decorated with @machine_mapping_function