Based on the Unruh effect, when a observer accelerates then he will see a thermal bath. mathematically the vacuum state for a non-inertial observer is $$|0\rangle=\text{cos}^{-1}(r)\sum_{n=0}^{\infty}\text{tanh}^n(r)|n\rangle_\mathrm{I}|n\rangle_{\mathrm{II}},$$ where $\mathrm{I}$ and $\mathrm{II}$ indicate the first and second Rindler regions that are causally disconnected. Also we have $$\text{sinh}(r)=(e^{2 \pi c \omega /a}-1)^{-1/2},$$ where $\omega$, $c$ and $a$ are the frequency of the particle, speed of light and the acceleration of the particle, respectively.
My question is what if the acceleration is not constant? Does the above relations hold when the acceleration changes?