I'm looking for a way to implement the regular Coulomb wave function in python. This function is a solution to
\begin{align} \frac{\text{d}^2\,u}{\text{d}z^2}+\left(1-\frac{2\eta}{z}-\frac{\ell(\ell+1)}{z^2} \right)u(z)=0 \end{align}
The regular Coulomb wave function is given by
\begin{align} F_\ell(\eta,z) = C_\ell(\eta)z^{l+1}e^{-iz} \mathstrut_1 F_1(\ell+1-i\eta,2\ell+2,2iz), \end{align}
which is the function I'm interested in implementing in Python. In a physics context this is Schödinger's equation with a Coulomb potential; $z$ is the radius, $\ell$ is a quantum number and $\eta=Zm\alpha/(\hbar k)$. More specifically I'm interested in implementing the regular Coulomb function for the repulsive interaction with $\ell=1$.
I've looked at mpmath but I'm not sure how to use the mpf
class with np.array and scipy's curve_fit