Femagtools is an Open-Source Python-API for FEMAG based on Numpy, Scipy, Mako and Matplolib. It offers following features:
The package can be used with Python 2.7 or 3.x on Linux or Windows and is hosted on github: https://github.com/SEMAFORInformatik/femagtools/` where also many examples can be found in the examples directory. Contributions and feedback to this project are highly welcome.
The installation can be done in the usual ways with pip or conda.
For details see the documentation http://docs.semafor.ch/femagtools
The package provides following modules:
The following modules can be executed as script:
Example: create a plot af a BCH file:
In addition you will find command line tools:
In [1]:
import femagtools
The version can be checked with:
In [2]:
femagtools.__version__
Out[2]: