dcase_util.utils.SimpleMathStringEvaluator
- class dcase_util.utils.SimpleMathStringEvaluator[source]
Simple math string evaluator
Uses pyparsing for safe string evaluation.
Implementation after pyparsing example: http://pyparsing.wikispaces.com/file/view/eval_arith.py
Methods
__init__
()eval
(string)Evaluate math in the string
Attributes
logger