Parametric coil and inductor geometry generator
Project description
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
- GitHub Repository: https://github.com/uhwang/Coil-Geom
- PyPI Page: https://pypi.org/project/coil-geom/
- Issue Tracker: Report a bug
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
Release history Release notifications | RSS feed
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.5.tar.gz
(11.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
coil_geom-0.2.5-py3-none-any.whl
(12.2 kB
view details)
File details
Details for the file coil_geom-0.2.5.tar.gz.
File metadata
- Download URL: coil_geom-0.2.5.tar.gz
- Upload date:
- Size: 11.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c740bde3444b88d59e184cd52b40fe97801c5648169ed4fba5e18cc25611c2c3
|
|
| MD5 |
c8be7f24fc341cb6b6e32716b3ebf9f9
|
|
| BLAKE2b-256 |
2ddc79c1d452d5415d82b1a555124217032e3741fc62d4cf2d87eede82a0352a
|
File details
Details for the file coil_geom-0.2.5-py3-none-any.whl.
File metadata
- Download URL: coil_geom-0.2.5-py3-none-any.whl
- Upload date:
- Size: 12.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eddf294e90898d084d89f2915d16f3a6aa6f324f234a37e502608eeeab35069a
|
|
| MD5 |
a350fd3b711606f1c8b53a6c3b85ba6c
|
|
| BLAKE2b-256 |
0806622a2c867c7f974612559332d3f1016a2edab7b573fd3e0f15d0c7b3d8e7
|