Skip to main content

Field and gradient calculations for magnetic coils

Project description


Torc is a Python library for computing magnetic fields resulting from magnetic coils such as loops, lines, round coils and racetrack coils of rectangular cross section, positioned and oriented arbitrarily in space.

Documentation and examples yet to come, but there is one example file you can run:

python -m torc.example

to display an arrangement of coils that represents the magnetic transport assembly for the cold atom experiment in the RbChip lab in the Spielman group at NIST:



Requires numpy and scipy. 'mayavi is an optional requirement, it is needed for displaying 3D renderings of the magnetic coils.


From pip: pip install torc From source: Clone this repository and tun python install

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

torc-0.1.1.tar.gz (140.2 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page