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) and B-field as B(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.2

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.2
File Size Uploaded
ifemm-0.2.2.tar.gz 412.6 kB Details

Built distribution (wheel)

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

Total release size: 427.1 kB

Release files / ifemm-0.2.2.tar.gz

Download URL ifemm-0.2.2.tar.gz
Size 412.6 kB
Tags Source
SHA-256 checksum
How to use checksums
650c9f04c232a558779747cc7a1ca0280c3db59a194b6ddab7f5b4e27bc58c71
BLAKE2b-256 checksum
How to use checksums
41a04d7d7e4567cb9db083a566a17fa7d556b5886d2d6e2b2ef4a552f1ff5ae8
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 Oct 10, 2026.

Transparency log

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

Download URL ifemm-0.2.2-py3-none-any.whl
Size 14.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b0e06565572495243c26d3dc8747130181b0fb32e29ac3358261d97c95e9c651
BLAKE2b-256 checksum
How to use checksums
240d9fd3d0eceee32e144a807ec45c99915c0ff285f0b6caef45ca9a5d99c6c6
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 Oct 10, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.2.2 This release

2 release files

0.2.0

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