Hello,
I've got a problem and I don't know how to solve it: A wrote a Python
which reads in some experimental data, performs some calculations and
writes new data (array) to a file. Then I needed a tool which can
perform fits with arbitrary functions and parameters -- I found Gnuplot.
The fit for my data looks really good. But the most important thing for
me would be, to be able to read in the values of my parameters which
Gnuplot calculated, to Python. Is this possible? If yes, how? Or is
there another program which can do these fits (I checked SciPy, but as
far as I could see, it can only handle spline fits)? With my Python
script I have to read in several hundered data sets, doing the fit with
Gnuplot (and hopefully reading in the parameters to Python), but anyway
working with Gnuplot's fit.log file "manually" is no option.
Thanks for your advice.
Best regards,
Sebastian Krause
|