ExpressionEngine#
- class ctapipe.core.ExpressionEngine(expressions)[source]#
Bases:
objectCompile expressions on init, evaluate on call.
The expressions are evaluated as python code in the context that is passed. Additionally, astropy.units is exposed as
uand numpy asnp.Basic mathematical functions are also exposed without the np prefix.
Methods Summary
__call__(locals)Call self as a function.
Methods Documentation