Skip to main content

Parametric coil and inductor geometry generator

Project description

PyPI - Version PyPI - License

coil-geom

coil-geom is a Python package for generating and visualizing coil and inductor geometries using clean, parametric definitions.
It is designed for engineering, scientific visualization, and symbolic / schematic-style plotting.

  • Pure geometry first (NumPy-friendly)
  • Easy plotting with Matplotlib
  • Suitable for electronics, physics, and CAD-style workflows

🔗 Project Links

Installation

pip install coil-geom

Mathematical Background

import matplotlib.pyplot as plt
import coil_geom as cg

coil = cg.CoilGeom()

xc, yc = coil.circle_coil()
xe, ye = coil.ellipse_coil()

fig, axs = plt.subplots(2)
fig.suptitle('Circle & Ellipse Coil Geometry')
axs[0].plot(xc, yc)
axs[1].plot(xe, ye)

xmax = max(xc)
axs[0].set_xlim(0,xmax)
axs[0].set_aspect('equal')
axs[1].set_xlim(0,xmax)
plt.show()

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

coil_geom-0.1.7.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

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

coil_geom-0.1.7-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file coil_geom-0.1.7.tar.gz.

File metadata

  • Download URL: coil_geom-0.1.7.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.9

File hashes

Hashes for coil_geom-0.1.7.tar.gz
Algorithm Hash digest
SHA256 536e778375ddae7abd063a4fe2c79bb3bf7406ed1963b8b9fdf7018a99ec1178
MD5 0a32467017785d1d72753c8594759c09
BLAKE2b-256 5e4b48cec5459c0232e9128dbb911674bd8f8758de56c7d84a06eae4fd106034

See more details on using hashes here.

File details

Details for the file coil_geom-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: coil_geom-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.9

File hashes

Hashes for coil_geom-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 da25017e2a96468a100a843d01a46ae0616a6ad52c24e8a2676c21e00677279a
MD5 ac188d99410ea4e5e60f2d02c1f7bf54
BLAKE2b-256 e5d282baab5e69cda290d70bedaa9e16bfb4f84b1f3bf213e5c00c1eb2446b39

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