Adjusts a parabola to
a Gaussian, to test the minimization method.
Applies the Python 'minimize' function,
in the 'scipy.optimize' module.
Draws a plot of the original and
the adjusted curve.
Computation structure — A PHP file
(this page: 'P.adjust.php') calls (via
'action=...') an intermediate PHP file ('Adjust.php'), which
(through $_POST) sends the problem data as command line arguments to
a Python script. This last does the computing, and makes
'system' call(s) to 'gnuplot', for the final (temporary) webpage.
Keywords: curve fitting; minimization;
Python, gnuplot. |