I have variable $q(x,t)$ in the function
$$\dfrac{\partial q}{\partial t} = \kappa \dfrac{\partial^2 q}{\partial x^2} + c_0 \tanh\left(q\right)$$
I would like to take the Fourier transform of this function in the $x$-dimension, which gives me:
$$\dfrac{\partial \widehat{q}}{\partial t} = -\kappa k^2 \widehat{q} + \dots$$
I do not know how to deal with the $c_0 \tanh \left( q \right)$ term. What is its transform? Is it possible to transform it?
As $tanh(x)$ is not absolutely integrable, so a Fourier transform does not exist. That said, for the signum function, which is not absolutely integrable, one can evaluate the fourier transform by applying useful workarounds.
Mathematica says that it transforms as $$\mathcal{F}_t[\text{tanh}(t)](\omega) = i\sqrt{\frac{\pi}{2}}\text{csch}\left(\frac{\pi\omega}{2}\right)$$