.. _sphx_glr_api_gallery_plasma_single_particle: Single-particle motion ---------------------- Charged-particle motion in electromagnetic fields, in two complementary pictures: the exact Lorentz-force orbit integrated with the energy-conserving Boris pusher (:func:`~physicskit.plasma.single_particle.boris_integrate`), and the guiding-center picture that averages over the fast gyration to track only the slow drift of the orbit's center (:func:`~physicskit.plasma.single_particle.exb_drift`, :func:`~physicskit.plasma.single_particle.grad_b_drift`, :func:`~physicskit.plasma.single_particle.curvature_drift`) and the adiabatic invariant responsible for magnetic mirror confinement (:func:`~physicskit.plasma.single_particle.magnetic_moment`, :func:`~physicskit.plasma.single_particle.magnetic_mirror_bounce`). .. raw:: html
.. raw:: html
.. thumbnail-parent-div-open .. raw:: html
.. only:: html .. image:: /api/gallery/plasma/single_particle/images/thumb/sphx_glr_plot_01_guiding_center_drifts_and_mirror_thumb.png :alt: :doc:`/api/gallery/plasma/single_particle/plot_01_guiding_center_drifts_and_mirror` .. raw:: html
Guiding-center drifts and magnetic mirror confinement
.. raw:: html
.. only:: html .. image:: /api/gallery/plasma/single_particle/images/thumb/sphx_glr_plot_02_boris_pusher_thumb.png :alt: :doc:`/api/gallery/plasma/single_particle/plot_02_boris_pusher` .. raw:: html
Energy-conserving gyration with the Boris pusher
.. raw:: html
.. only:: html .. image:: /api/gallery/plasma/single_particle/images/thumb/sphx_glr_plot_03_exb_drift_gyroaverage_thumb.png :alt: :doc:`/api/gallery/plasma/single_particle/plot_03_exb_drift_gyroaverage` .. raw:: html
Recovering the ExB drift as a time-average of the full orbit
.. thumbnail-parent-div-close .. raw:: html
.. toctree:: :hidden: /api/gallery/plasma/single_particle/plot_01_guiding_center_drifts_and_mirror /api/gallery/plasma/single_particle/plot_02_boris_pusher /api/gallery/plasma/single_particle/plot_03_exb_drift_gyroaverage