Skip to content
Snippets Groups Projects
Commit d95f0581 authored by Izzard, Robert Dr (Maths & Physics)'s avatar Izzard, Robert Dr (Maths & Physics)
Browse files

Update README.md

parent 0dc91fe7
No related branches found
No related tags found
No related merge requests found
......@@ -26,13 +26,13 @@ fitnd
Usage:
fitnd "function" <filename>
fitnd "function" filename [coefficients] [other options]
"function" should be in the form of a C-type function, with the letters a-q used as free parameters which you name, ^ is a free free parameter (named automatically using r1,r2,r3 etc), s-z are dependent variables (you can use x0,x1,x2,y1,s1 etc. as well). cos,sin,exp,tan,pow are treated explicitly and not turned into free parameters. ax is turned into (a*x), but don't try to rely on this too much - a properly formatted function is best!
"function" should be in the form of a C-type function, with the letters a-q used as free parameters which you name, ^ is a free parameter (named automatically using r1,r2,r3 etc), s-z are dependent variables (you can use x0,x1,x2,... etc. as well). cos,sin,exp,tan,pow are treated explicitly and not turned into free parameters. ax is turned into (a*x), but don't try to rely on this too much - a properly formatted function is best! Remember this is C, so use pow(x,y) rather than x**y.
The <filename> is the name of the file that contains the data (s t u v w x y z)
The filename is the name of the file that contains the data. This should be in space-separated columns.
Before running, export the environment variable FITND_SRC to point to the directory where you have the fitnd script.
Before running, export the environment variable FITND_SRC to point to the directory where you have the fitnd script. This is required so the compilation step finds the various source files.
Examples:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment