Context
Being: $$K(k)=\int_{0}^{\pi/2}\frac{dx}{\sqrt{1-k^2\sin^2{x}}},\tag{1}$$ the complete elliptic integral of the first kind, and $$K(k')=\int_{0}^{\pi/2}\frac{dx}{\sqrt{1-k'^2\sin^2{x}}},\tag{2}$$ where $k'=\sqrt{1-k^2}$ is the complementary modulus. It has been considered far in the literature: $$\frac{K(k'_{n})}{K(k_{n})}=\sqrt{n},\tag{3}$$ where $n$ is an integer. Solutions of the equation $(3)$ are of particular interest. These $k_{n}$ are so called elliptic singular moduli.
If we consider $s=i(\sqrt{2\sqrt{2}+2})$ then it can be proven: $$K(s)=\int_{0}^{\pi/2}\frac{dx}{\sqrt{2(\sqrt{2}+1)\sin^2{x}+1}}=\frac{\pi^{3/2}\sqrt{\frac{1}{4}-\frac{\sqrt{2}}{8}}}{\Gamma{(5/8)}\Gamma{(7/8)}}\tag{4},$$ and $$\frac{K(s')}{K(s)}=\frac{\sqrt{2}}{2}+i\tag{5}.$$ Thus considering $q=e^{-\pi K(s')/K(s)}$ and $P(q)=1-24\sum_{n=1}^{\infty}\frac{24n}{1-q^n},$ we have: $$2P(q^{2})-P(q)=\frac{4K^2(s)}{\pi^2}(1+s^2)$$ which is $$1+24\sum_{n=1}^{\infty}\frac{n(-1)^n}{e^{\pi n/\sqrt{2}}+(-1)^n}=\frac{\pi\left(1- \frac{3\sqrt{2}}{2}\right)}{\Gamma{(5/8)}^2\Gamma{(7/8)}^2} \tag{6}.$$
As best I know in the literature elliptic singular moduli are real numbers but this case shows that also purely imaginary moduli exists $(k=i(\sqrt{2\sqrt{2}+2}))$ and in these cases $(3)$ has the form of $(5)$ in the sense that $K(k')/K(k)=a+i$ is a complex number with $a$ an algebraic number.
Question
Do you know if someone has considered purely imaginary $k$ for $K(k)$, so that $\frac{K(k')}{K(k)}=a+i$, where $a$ is an algebraic number?