ComPWA / tensorwaves

Python fitter package for multiple computational back-ends

Home Page:https://tensorwaves.rtfd.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Outsource evaluation (doit) of SymPy expressions

redeboer opened this issue · comments

Currently, SympyModel always performes a doit() on input expressions, which can take a long time for longer expressions. We should consider giving this reponsibility to the caller.

self.__expression: sp.Expr = expression.doit()
# after .doit() certain symbols like the meson radius can disappear
# hence the parameters have to be shrunk to this space

See also #273