Accuracy of ray tracing in a magnetic field.


Associated notes are:

How the program tries to achieve the requested inaccuracy.

Accuracy for relativistic motion.

Trouble-shooting for  rays.

Nearly helical motion in a strong magnetic field


With a long step length or time the output ray information might be 'sampled' at points spaced by one or more turns, giving a distorted plot of the ray and also invalidating the interpolation information (but do not be mislead by this, since the non-interpolated output information is still correct).


If however an undistorted plot is required, make the maximum step length or time smaller than the helical pitch length or use the nearly helical option.



Return to general note on accuracy of ray tracing.