scotty.check_output module#
Checks various quantities that beam_me_up calculates
- scotty.check_output.check_H_output(H_output)#
H_output should be zero along the entire ray.
If not close to zero, that means numerical errors are large
- scotty.check_output.check_Psi(Psi_xg_output, Psi_yg_output, Psi_gg_output)#
By definition, we need:
\[\begin{split}\begin{align} Im(\Psi \cdot \hat{\mathbf{g}}) &= 0 \\ Re(\Psi \cdot \hat{\mathbf{g}}) &= \nabla_K H \end{align}\end{split}\]