Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Overview

Status License Python Version

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

Magnetic vector potential Plot

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 .ans and .py files.

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

femminterpreter-0.1a0.tar.gz (421.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

femminterpreter-0.1a0-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file femminterpreter-0.1a0.tar.gz.

File metadata

  • Download URL: femminterpreter-0.1a0.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

Hashes for femminterpreter-0.1a0.tar.gz
Algorithm Hash digest
SHA256 c336a6f45b220290400b08ee9bab3d532d5cced2d50f23cc72929966b23a393b
MD5 252cb3325390c98d2f4bc6321072b523
BLAKE2b-256 6fb02b5249be4a8f64198f16a9045a3fa7986701ad67fb61a8ec9cc3c2337794

See more details on using hashes here.

Provenance

The following attestation bundles were made for femminterpreter-0.1a0.tar.gz:

Publisher: publish.yml on wgbowley/FEMMInterpreter

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file femminterpreter-0.1a0-py3-none-any.whl.

File metadata

File hashes

Hashes for femminterpreter-0.1a0-py3-none-any.whl
Algorithm Hash digest
SHA256 7e9c40a25be6b5fa5ce25df672e7d0948420ef835aa029f7611e88fd0dc7f5ff
MD5 35d0c77ce73c049b5a07136c067666b9
BLAKE2b-256 d3d4f8f0dd3fba3ec13847c064a416dd69f9e5dfdab9bc458786c00b3536f1de

See more details on using hashes here.

Provenance

The following attestation bundles were made for femminterpreter-0.1a0-py3-none-any.whl:

Publisher: publish.yml on wgbowley/FEMMInterpreter

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.1.1

2 files

This release

0.1a0 This release

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page