finiteT.py¶
This module provides the functions for the one-loop finite temperature corrections to a potential in QFT. The two basic functions are:
Jb(x) = int[0->inf] dy +y^2 log( 1 - exp(-sqrt(x^2 + y^2)) )
Jf(x) = int[0->inf] dy -y^2 log( 1 + exp(-sqrt(x^2 + y^2)) )
Call them by:
Jb(x, approx=’high’, deriv=0, n = 8)
Here, approx can either be ‘exact’, ‘spline’, ‘high’, or ‘low’. Exact calculates the integral numerically, while high and low calculate the high and low x expansions of J to order n. Specify the derivative with the ‘deriv’ parameter.
-
Jb
(x, approx='high', deriv=0, n=8)[source]¶ A shorthand for calling one of the Jb functions above.
Parameters: - approx (str, optional) – One of ‘exact’, ‘high’, ‘low’, or ‘spline’.
- deriv (int, optional) – The order of the derivative (0 for no derivative). Must be <= (1, 3, 0, 3) for approx = (exact, high, low, spline).
- n (int, optional) – Number of terms to use in the low and high-T approximations.
-
Jf
(x, approx='high', deriv=0, n=8)[source]¶ A shorthand for calling one of the Jf functions above.
Parameters: - approx (str, optional) – One of ‘exact’, ‘high’, ‘low’, or ‘spline’.
- deriv (int, optional) – The order of the derivative (0 for no derivative). Must be <= (1, 3, 0, 3) for approx = (exact, high, low, spline).
- n (int, optional) – Number of terms to use in the low and high-T approximations.