Screen 'csv' data |
|
In 'csv' (Am or Eu) format,
ignored (but necessary) if a file is uploaded
• |
Makes a regression
(essentially a template) adjusting a parabola,
a x² + b x + c, to the given
x-y data (using PHP, python, Fortran 90,
gnuplot).
The files involved (in a certain home
directory) are:
(a) P-regression.php (this one);
(b) Regression.php, 'action' manager;
(c) regression.py, python hub importing following
and 'gnuplot'; and
(d) module from modRegression.f90.
Advantage is taken from: PHP, for the web page
construction; python, as "glue"; Fortran,
for easy numerical file handling; and gnuplot,
for plotting. (Anomaly: the results of Linux 'wc'
appear out of order.) For security, / is not allowed
in the data.
Draws graphs with the experimental points and
the calculated points from the regression
a, b, and c. |