h5analysis.simplemath.handle_eval

h5analysis.simplemath.handle_eval(expr, vars)

Replaces any NaN and inf values from evaluated array

Parameters:
  • expr (string) – expression to be evaluated

  • vars (dict) – dictionary of local variables need to perform evaluation

Return type:

numpy array