Closed vsht closed 1 year ago
Hi, Vlad. I think we saw errors like this at some point; I think it was a sympy problem: it is set to use either gmpy or gmpy2 libraries for its integers, depending on which you have installed, but in practice it doesn't actually work with gmpy, only with gmpy2. Can you install the latest gmpy2 and check again?
(Also consider upgrading to newer Python; we're dropping Python 3.6 support in the next version: it has been unsupported for multiple years now, and the libraries we're dependent upon have dropped the support already).
Hi Vitaly,
thanks a lot for the prompt reply! Indeed, upon installing gmpy2
via
python3 -m pip install --user gmpy2
everything works as expected.
Unfortunately, something I didn't realize before is that when doing asymptotic expansions pySecDec requires the user to fix the smallness parameter(s) numerically. This is not so helpful if one is interested in the analytic structure of the expression (what powers and logs of the small variables show up). FIESTA returns exactly that kind of "semi-numerical" output, e.g.
(-2.83715408392799 + 15.70762763047966*I) +
ep^2*((-75.15051613464018 - 1.8215957883643*I) +
Log[m]^4*(0.66666666270028 + 0.00004152288909*pm[51]) +
Log[m]^3*((-6.66664931664225 - 8.37759646031364*I) +
0.01496568252389*pm[52]) +
Log[m]^2*((-8.05836763671348 + 62.83200473550008*I) +
0.18718974676163*pm[53]) +
Log[m]*((121.12849329071528 - 114.7367724383873*I) +
0.7539162846317*pm[54]) + 1.19861069562318*pm[55]) +
ep*((-33.19250256481778 + 23.51627736009916*I) +
Log[m]^3*(-1.33333332540056 + 0.00008304577819*pm[56]) +
Log[m]^2*((9.99997397496338 + 12.56639469047046*I) +
0.02244852378583*pm[57]) +
Log[m]*((8.05836763671348 - 62.83200473550008*I) +
0.18718974676163*pm[58]) + 0.39055093652919*pm[59]) +
Log[m]^2*(1.99999998810084 + 0.00012456866728*pm[60]) +
Log[m]*((-9.99997397496338 - 12.56639469047046*I) +
0.02244852378583*pm[61]) + 0.09422259505112*pm[62] +
((2.49998731890744 + 3.14160429781107*I) +
Log[m]*(-1.99999998810084 + 0.00012456866728*pm[63]) +
0.01124758458693*pm[64])/ep + (0.49999995297059 + 0.00009478863749*pm[65])/
ep^2
I guess that pySecDec could in principle do something similar, it's just not implemented as of now. But it certainly would be a very handy feature for the next major release :)
Unfortunately, something I didn't realize before is that when doing asymptotic expansions pySecDec requires the user to fix the smallness parameter(s) numerically.
The API does seem to suggest this, but that's not the only possibility, and we agree that this is not the most useful way of using asymptotic expansion. Instead, we suggest users to take the terms that they get from e.g. loop_regions() and group them by the prefactor. Since the smallness parameter only enters the prefactors after the expansion, the dependence on it can be fully extracted, and you can get a similar symbolic+numeric expression.
We'll soon be releasing v1.6 with a demo of how this can be done.
Hi,
using the following code to perform an asymptotic expansion of a 2-scale 2-loop SCET-integral with an analytic regulator (the first two propagators)
I get
This is on a KIT TTP machine with Python 3.6. I don't have that much experience using pySecDec for asymptotic expansions, so perhaps there is just something wrong with my input file?