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.2.tar.gz (8.7 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.2-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: coil_geom-0.2.2.tar.gz
  • Upload date:
  • Size: 8.7 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.2.tar.gz
Algorithm Hash digest
SHA256 651a61d4f046c8c61501cffdcc353e8083e56f260354502e7f5df3c79d33b193
MD5 1feb6c0c0f142ddb4a723217ebfa3c4d
BLAKE2b-256 e8c229d5124024c15dfcd973fde37ececc261592b6bf8a94aca1b8f79c288661

See more details on using hashes here.

File details

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

File metadata

  • Download URL: coil_geom-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 8.4 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3295ea7b0deb8d1a1d1abfeca5d8fadb97f23da05a312cde8f3240033a9b6d74
MD5 a7edbf546fa1f894611531c1f195a48b
BLAKE2b-256 181fd3019444499480ad9aea09e93c90fd204b9b2a020070d039d2c9e170e57a

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