scotty.check_output module
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
- Parameters
H_output (numpy.ndarray[Any, numpy.dtype[numpy.float64]]) –
- Return type
None
- 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}\]- Parameters
Psi_xg_output (numpy.ndarray[Any, numpy.dtype[numpy.float64]]) –
Psi_yg_output (numpy.ndarray[Any, numpy.dtype[numpy.float64]]) –
Psi_gg_output (numpy.ndarray[Any, numpy.dtype[numpy.float64]]) –
- Return type
None
- scotty.check_output.check_output(H_output)#
- Parameters
H_output (numpy.ndarray[Any, numpy.dtype[numpy.float64]]) –
- Return type
None