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()
xu, yu = coil.circle_coil(p_dist=-0.7)

fig, axs = plt.subplots(nrows=3, ncols=1, sharex=True, figsize=(8, 6))
fig.suptitle('Circle & Ellipse Coil Geometry')
axs[0].plot(xc, yc)
axs[1].plot(xe, ye)
axs[2].plot(xu, yu)

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.2.6.tar.gz (12.5 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.2.6-py3-none-any.whl (12.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: coil_geom-0.2.6.tar.gz
  • Upload date:
  • Size: 12.5 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.2.6.tar.gz
Algorithm Hash digest
SHA256 51867cfd7fbf501b669e159aaa102ed185e1246f2c60f79a6350df639a36b51e
MD5 436503002dc73cf3fef2f152cf345170
BLAKE2b-256 3ca08f91ac364b8fa860d94e7089ea6650a83f9d3d4589d688d550d1a95586f8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: coil_geom-0.2.6-py3-none-any.whl
  • Upload date:
  • Size: 12.9 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.2.6-py3-none-any.whl
Algorithm Hash digest
SHA256 bc1097c090062bc4d34dffbb41b9ef9a08dd4516c42b2b46ddbaf00100260ba5
MD5 019d1a485aacd9dd714dbe00a308b96f
BLAKE2b-256 f7fdbbb19161b41eaac714076ff38b30c94152deafc4ec3072f3cc73b75599bb

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