Performs a regression
from given kinetic data ('Data table' or Excel), to find the underlying
parameters, ki, i = 1..n
in a set of multiple functions of a single
variable (t, as usual).
The embedded ODE's are ,
with [HE]0 given, and
[FU]0 = [FU]0 = 0.
This is an application of the Python
'minimize' function, in the 'scipy.optimize' module, a part of the
Python 'SciPy' library.
Advantage is taken from: PHP, for the
web page; Python for the numerical segment; and
'gnuplot', for plotting.
Draws a plot of the original and
the adjusted data.
Computation structure — A PHP file
(this page: 'P-furfural.php') calls (via
'action=...') an intermediate PHP file ('Furfural.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.
Files involved:
P-furfural.php (this one),
Furfural.php,
furfuralODE.py.
Keywords: PHP,
command line arguments, Python script, gnuplot.