Simulation/Fimmwave-Fimmprop

From OptoelectronicsWiki
Revision as of 16:53, 5 March 2010 by Jock (Talk | contribs)

Jump to: navigation, search

Scripting:

There are a few steps that you need to do in order to allow scripting in python of Fimmwave. Please see the manual for step by step instructions.

Once you have completed these preliminary steps, please feel free to take a look at this already constructed python scripting example. If you write a new and interesting example, with additional functionality please post the commented code.

1) Open Fimmwave via the desktop shortcut for reasons described in the manual.

2) Open LionixWG.prj

3) Open Python IDLE (or your preferred python compiler)

4) Open LionixPyScriptExampleFDM.txt or LionixPyScriptExampleFMM.py

5) Modify a output file save location, else the data will simply be saved at the "C:\LionixPyScriptExampleOUTPUTFILE.dat"

5) Run the script from the python GUI or command line.

6) Once the script is complete the output file can be viewed. It is tab delimited and makes a nice table in excel.

Have fun!!!