gudrunhe / secdec

a program to evaluate dimensionally regulated parameter integrals numerically
GNU General Public License v3.0
25 stars 5 forks source link

Mathematica/Maple export? #3

Closed vsht closed 3 years ago

vsht commented 3 years ago

One thing I was wondering about, is whether there is a convenient way to export the numerical results (and possibly also symbolical expressions for Feynman parameter integrals) to Mathematica or Maple?

This would be particularly useful when cross-checking analytic results obtained with PolyLogTools/HPL (Mathematica) or HyperInt (Maple) against the output of pySecDec.

magv commented 3 years ago

It crossed my mind that being silent on this issue tracker for so long might make it look like we don't even read it... while in fact the opposite is true.

Sorry for being silent; we will add convert_to_{mathematica,maple,ginac,sympy} functions in the new release, whenever it happens. Hopefully this will cover all the relevant use cases.

magv commented 3 years ago

In the new release one can transform the numerical integration result into Mathematica format with series_to_mathematica, and to Maple, GiNaC and SymPy with related functions. There's an example of using series_to_sympy in e.g. the bubble1L_ebr example (also in the paper).

Comments on the API are welcome, but I'll close this issue for the moment.