This repository contains code useful for numerically calculating the magnetic field due to some popular current distributions.
You can view and execute this code by clicking the button below:
Alternatively, you can clone this code and work on the code locally. I recommend using the Anaconda python distribution if you want to work with the code on your own computer; it's available from https://www.anaconda.com/distribution/. You should download Python 3.7; Python 2 is deprecated.
To clone the code you should either (a) use a git client such as Aurees to get the code or (b) if you are comfortable working in a terminal, use the following command:
$ git clone git@github.com:pibion/magnetic_field_calculations.git
Amy Roberts Staci Brown