Skip to main content

Magnetic Field Coil Generator for Python.

Project description

pyCoilGen

GitHub license PyPI - Python Version semver GitHub tag (latest SemVer) Code style: autopep8

pyCoilGen logo

The pyCoilGen project is an open source tool for generating coil winding layouts, such as gradient field coils, within the MRI and NMR environments. pyCoilGen is based on a boundary element method and generates interconnected non-overlapping wire-tracks on 3D support structures.

This Python project is a port of the MATLAB CoilGen code developed by Philipp Amrein.

For detailed documentation, refer to the pyCoilGen Documentation.

Installation

Refer to the Installation Guide for detailed instructions on how to install and set up pyCoilGen.

Examples

The examples directory contains several examples for how to use pyCoilGen. These examples demonstrate different scenarios and configurations for generating coil layouts.

Acknowledgements

The porting of the code from MATLAB to Python was facilitated by ChatGPT, May 24 through August 3 Version with manual corrections.

Additional cross-checking was done using MATLAB Online provided by MathWorks.

Contributing

If you'd like to contribute to pyCoilGen, follow the guidelines outlined in the Contributing Guide.

License

See LICENSE.txt for more information.

Contact

For inquiries and discussion, use pyCoilGen Discussions.

Issues

For issues related to this Python implementation, visit the Issues page.

Citation

Use the following publication, if you need to cite this work:

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

pycoilgen-0.2.4.tar.gz (134.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pycoilgen-0.2.4-py3-none-any.whl (165.2 kB view details)

Uploaded Python 3

File details

Details for the file pycoilgen-0.2.4.tar.gz.

File metadata

  • Download URL: pycoilgen-0.2.4.tar.gz
  • Upload date:
  • Size: 134.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.32.5

File hashes

Hashes for pycoilgen-0.2.4.tar.gz
Algorithm Hash digest
SHA256 b4522cda9b23277e4b5f47b15c5efdcc737379b1072b374b02b902abd379d358
MD5 0ea187591c75320aade60b5b201cd098
BLAKE2b-256 cef5c49c482fe2d62a38f391fe093ec49684de90bdbdcd4074a967f09d683b2e

See more details on using hashes here.

File details

Details for the file pycoilgen-0.2.4-py3-none-any.whl.

File metadata

  • Download URL: pycoilgen-0.2.4-py3-none-any.whl
  • Upload date:
  • Size: 165.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.32.5

File hashes

Hashes for pycoilgen-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 19b120a73b9a1b5314173b667bde14517af1dee04c245be8a3b919dbddc5dba9
MD5 e84a357291d2502d6b3faf38e36ba15a
BLAKE2b-256 69599fdfce944aeb2cab9bcc46ced659d95df3dce8bb36448ddbb947cd02b496

See more details on using hashes here.

Supported by

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