ewoksfluo.tasks.math.eval_expression#

ewoksfluo.tasks.math.eval_expression(expression, variables)[source]#

Evaluate an arithmetic expression with python and numpy arithmetic.

Parameters:
  • expression (str) – arithmetic expression where datasets are define as "name1" where "name1" must be a key in variables.

  • variables (Dict[str, Any]) – variables to be used in the expression

Return type:

Any