I am writing a code for the numerical evaluation of susceptibilities. The formalism is explicitly written on the Matsubara axis (fermionic case) and in the heart of the procedure lie multiple integrations of the form:
$$ M = \frac{1}{\beta}\sum_n \frac{F(i\omega_n)}{i\omega_n - z} $$
where z can be either complex or real constant. Since the $F$ function is known only numerically for a finite number of Matsubara frequencies, I wonder if it's possible to use some kind of analytical expression to deal with the numerical tails that are missing and converge the integration without expanding endlessly the axis.