Skip to main content

Overview

Version License Python Version PyPI Downloads

A Python library for interpreting Finite Element Method Magnetic (FEMM) files and exposing FEMM solution data through a Python attribute-based interface. ifemm exposes the A-field as A(x,y), independent of planar or axisymmetric coordinate systems.

Proposed Integration

FEMM Setup & Solve → FEMM (.ans) → ifemm → Reduced Order Models / Analytical Models

Example

An example of a dipole being plotted can be found in /examples with .ans and .py files.

B-field of transformer

B-field of a planar LLC transformer from FEMM (.ans)


Quick Start

from ifemm import Parser

# Imports the parser and parses the .ans file
PATH = "examples/magnetostatic.ans"
data = Parser.open(PATH)

# Result as a float with implicit unit of wb/length_unit
a_potential = data.point_potential(0, 0)

Installation

To install,

pip install ifemm

Documentation

Full documentation is available in the docs/ folder, including API reference, changelog, and contributors.


Metadata

Release files for ifemm 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ifemm 0.2.0
File Size Uploaded
ifemm-0.2.0.tar.gz 412.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ifemm 0.2.0
File Interpreter ABI Platform
ifemm-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 427.0 kB

Release files / ifemm-0.2.0.tar.gz

Download URL ifemm-0.2.0.tar.gz
Size 412.6 kB
Tags Source
SHA-256 checksum
How to use checksums
5cde20dd433f2108976ecebdb6b6153d8194bd4e8f249818942ed7da501b962a
BLAKE2b-256 checksum
How to use checksums
869f3b049a3aeaebb90ad8592db124e66b8198f23ee3635d4265362644bea1aa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 21, 2026.

Transparency log

Release files / ifemm-0.2.0-py3-none-any.whl

Download URL ifemm-0.2.0-py3-none-any.whl
Size 14.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c04c2a4d4cdd99012d0e6b97ed27fbdc54018210f5e0348ed2cfa92ca709ca10
BLAKE2b-256 checksum
How to use checksums
d0317343afb5537541dc7b540d358763c7772db7eeedb6e2bd30256ed005ea90
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 21, 2026.

Transparency log

Release history Release notifications | RSS feed

0.2.2

2 release files

This release

0.2.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page