[SciPy-user] static magnetic field ?

zunzun@zunzu... zunzun@zunzu...
Thu Oct 25 11:49:35 CDT 2007


On Thu, Oct 25, 2007 at 05:21:54PM +0200, Stef Mientki wrote:
> 
> does anyone knows about a Python library,
> for the calculation and visualization of static magnetic fields ?


If Python bindings are OK,

http://www.mare.ee/indrek/ephi/

Ephi is a C++ physics simulation software to simulate static
magnetic fields and movement of charged particles in those
fields (using the Lorentz force). Coulomb forces are also
accounted when simulating particle paths. So Ephi allows you
to model and visualize magnetic fields through current
elements and also to visualize electron paths within those
fields. Magnetic fields are calculated using numeric 
integration over the Biot-Savart law.


looks like exactly what you need, because in the README file:

Python interface
~~~~~~~~~~~~~~~~~
Ephi also provides a python interface for programming
the simulation scenes in python. See src/*.py for examples.


     James



More information about the SciPy-user mailing list