Skip to main content

Field and gradient calculations for magnetic coils

Project description

torc

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:

rb_chip_coils.png

Requirements

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

Installation

From pip: pip install torc From source: Clone this repository and tun python setup.py 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 details)

Uploaded Source

File details

Details for the file torc-0.1.1.tar.gz.

File metadata

  • Download URL: torc-0.1.1.tar.gz
  • Upload date:
  • Size: 140.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for torc-0.1.1.tar.gz
Algorithm Hash digest
SHA256 2fadbf710a3f6be12043304097c694306effbeda9bb7c81c1329fcec9c423775
MD5 900d568e0f1ba9453d37f162d6e69f24
BLAKE2b-256 2b6b3eb648b1f1ca51495db6c7fb3a3bd95d9fdca9036f7b1d0510b54c96a207

See more details on using hashes here.

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