Overview
A Python library for interpreting Finite Element Method Magnetic (FEMM) files and exposing FEMM solution data
through a Python attribute-based interface. FEMMInterpreter exposes the A-field as A(x,y), independent of
planar or axisymmetric coordinate systems.
Proposed Integration
FEMMInterpreter is intended to provide a bridge between FEMM's numerical solutions and Python-based computational models.
FEMM Setup & Solve → FEMM (.ans) → FEMMInterpreter → Reduced Order Models / Analytical Models
Figure 1: Magnetic vector potential of a dipole extracted from FEMM (.ans)
[!NOTE]
This example of a dipole being plotted can be found in /examples with
.ansand.pyfiles.
Quick Start
from FEMMInterpreter 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)
[!IMPORTANT]
This tool will focus on the magnetic domain for now, but can be expanded in the future to cover all FEMM solutions.
Installation
[!WARNING]
This library is still under development and hasn't been fully documented nor fully test-covered.
The abstraction boundaries may change with future releases.
To install,
pip install FEMMInterpreter
Documentation
Documentation for the attribute class output can be found here.
Internal documentation can be found within this repo's issues.
Tags
LX -> Documentation and project structure
L0 -> Requirements and Objectives
L1 -> Architecture and implementation
L2 -> Validation of the codebase
DS -> Descoped Feature, Descoped Analysis
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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
File details
Details for the file femminterpreter-0.1.1.tar.gz.
File metadata
- Download URL: femminterpreter-0.1.1.tar.gz
- Upload date:
- Size: 421.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0a27dd11d6efc974e41a703c3d19234d562163f6f40c26ae3a8925e28a46a41e
|
|
| MD5 |
6b6755740a800166e724010583736bde
|
|
| BLAKE2b-256 |
0343ef41109bdf1f2aff8dc47b7e9611eab6e9e28b5f48b9118493a07e4c6203
|
Provenance
The following attestation bundles were made for femminterpreter-0.1.1.tar.gz:
Publisher:
publish.yml on wgbowley/FEMMInterpreter
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
femminterpreter-0.1.1.tar.gz -
Subject digest:
0a27dd11d6efc974e41a703c3d19234d562163f6f40c26ae3a8925e28a46a41e - Sigstore transparency entry: 2498844819
- Sigstore integration time:
-
Permalink:
wgbowley/FEMMInterpreter@f6324aa73ddcbbc98b5328edc9765de3b9fd0620 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/wgbowley
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@f6324aa73ddcbbc98b5328edc9765de3b9fd0620 -
Trigger Event:
push
-
Statement type:
File details
Details for the file femminterpreter-0.1.1-py3-none-any.whl.
File metadata
- Download URL: femminterpreter-0.1.1-py3-none-any.whl
- Upload date:
- Size: 14.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e32bf7230157e78cf99a6ee52e1572e0b16d96f3fd07a244eb2bb96aebe1fc6e
|
|
| MD5 |
e98063f8de21347f8884b7891f2483ba
|
|
| BLAKE2b-256 |
626b574d45ebc9f43b3ea9542c1e9f356282bcba44430cf872a80d71cf715717
|
Provenance
The following attestation bundles were made for femminterpreter-0.1.1-py3-none-any.whl:
Publisher:
publish.yml on wgbowley/FEMMInterpreter
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
femminterpreter-0.1.1-py3-none-any.whl -
Subject digest:
e32bf7230157e78cf99a6ee52e1572e0b16d96f3fd07a244eb2bb96aebe1fc6e - Sigstore transparency entry: 2498844830
- Sigstore integration time:
-
Permalink:
wgbowley/FEMMInterpreter@f6324aa73ddcbbc98b5328edc9765de3b9fd0620 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/wgbowley
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@f6324aa73ddcbbc98b5328edc9765de3b9fd0620 -
Trigger Event:
push
-
Statement type: