Skip to content

TurboPy app which computes the motion of a charged particle in an electric field

Notifications You must be signed in to change notification settings

NRL-Plasma-Physics-Division/particle-in-field

Repository files navigation

TurboPy app for charged particle motion

DOI Binder

Sample turboPy app which computes the motion of an electron in an electric field.

Installing turboPy

  • Install turboPy: pip install turbopy

Installing and running this app

  • Clone this repository.
  • Run the code:
> python ./particle_in_field.py

simulation run

  • Output is saved in csv format in the folder called output.

Running the app in a Jupyter notebook

This sample app is also available as a Jupyter notebook.