Python script that exports simulation data into a text file, by Jan Pokorny, Brno University of Technology
Usage example:
$ ./reformatFile.py MAGNETLAGER_res.plt s1.F,s2.F,r1.cOut.strom
First argument infile, then the variables to search for separated with a ","
(no whitespace as the whole list of variables is treated as one argument,
maybe I should change that).
Here is an example of Monte Carlo simulations that are performed with a Python script calling OpenMdoelica with different parameter values every time. Also the result is exported to Matlab for visualisation.