[SciPy-user] static magnetic field ?

Stef Mientki s.mientki@ru...
Thu Oct 25 12:27:01 CDT 2007

zunzun@zunzun.com wrote:
> 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.
Thanks James,
I found that too,
and indeed it seems to fit my needs,
(although I want to experiment with permanent magnets, Halbacher arrays,
I simulate that with coils too),
but unfortunately there is very little documentation about the functions 
and it's parameters in Ephi.

Stef Mientki
>      James
> _______________________________________________
> SciPy-user mailing list
> SciPy-user@scipy.org
> http://projects.scipy.org/mailman/listinfo/scipy-user

More information about the SciPy-user mailing list