Skip to main content

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

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.6.tar.gz (3.9 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.6-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: coil_geom-0.1.6.tar.gz
  • Upload date:
  • Size: 3.9 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.6.tar.gz
Algorithm Hash digest
SHA256 c7d4b44673c81d6e597c98e719aede67c47bb96919cd7dc1067b55a4c99fefff
MD5 1e12cc605e99b699736b7fe281cb1813
BLAKE2b-256 4b193309c2a152604c3c57425b8afb1ae7c46230610dd85eaaba5e4c73c14b22

See more details on using hashes here.

File details

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

File metadata

  • Download URL: coil_geom-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 4.0 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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 2527c8f7203d7628235d363893dd910d89383acd19a4719995ca99575fd0378b
MD5 25840597d974f9f29518320f3e3bea55
BLAKE2b-256 13a770d387a7533d6c80483d92dcec1d38130fa6205a9df4fb2b612542028fc2

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