Das Magnetpendel 2009-07-13
Als Projektarbeit für Computational Physics habe ich ein Magnetpendel programmiert. Geschrieben in Python mit wxWidgets und Pyglet, parallelisiert mit IPython.
Als Projektarbeit für Computational Physics habe ich ein Magnetpendel programmiert. Geschrieben in Python mit wxWidgets und Pyglet, parallelisiert mit IPython.
du mußt angemeldet sein, um kommentieren zu können.
Am 23. November 2009 um 19:48 Uhr
[...] Das Magnetpendel [...]
Am 29. Juni 2011 um 13:50 Uhr
Good morning,
Your program seems very good but I cannot run the plotter. Can you explain me what pyton tools I need (I have Pythonxy 2.6) but it seems it is missing something ( I have an error zope.interface ???).
Thank you very much.
Have a good day.
Excuse my bad english.
Pascal Grandeau
Am 30. Juni 2011 um 00:34 Uhr
Hello Pascal,
for the plotter, you basically need PIL, numpy and scipy. I think the errors you are experiencing are because of the parallel renderer which is imported from plotter.py. It is using IPython and its parallelizing routines (which might use Zope, but I don't know). I would suggest commenting out the lines 14-17 in plotter.py, and it will help eventually 😉
Best wishes,
Tino
Am 10. Juli 2011 um 17:46 Uhr
Thank you Tino, this seems to work.
Best wishes,
Pascal