\[\theta_{0}=\tfrac{3}{2}d^{2}\ln 2+\operatorname{ph}\Gamma\left(1-\tfrac{1}{2}%
id^{2}\right)+\tfrac{1}{4}\pi(1-2\operatorname{sign}\left(k\right)),\]