Type your data in the form of 3 columns x (your independent variable), y (your dependent variable), and Ey (the experimental uncertainty of y)
Choose your plot settings (or just choose "autoscaling")
You might execute "Data Plot" to check your plotted data
Choose the names of your independent and dependent variables (ex. x, y)
Choose the names of your parameters (ex. slope: a; value at the origin: b
Type the equation (in programing language C): y= a*x+b
Compile your function. The layout of OneFit webform changes if the compilation has no errors, otherwise a "compiling error" will blink and you should check the "Log" file
The layout will show you the "Data" field and next to it the parameters table will all parameters initialized to 1 and fixed. Choose which ones to free and fit
You might also choose your own values for the fitting parameters and simulate the curves using those values with the "Plot" button
chi2 is calculated according to eq 15.1.5 of the book Numerical Recipes in C, Second Edition (1992) http://apps.nrbook.com/c/index.html and according to the CERN library MINUIT minimization routine applied to the χ2. For a good fit the value of this chi2 should be small. For a moderate good fit the value can be around the number of degrees of freedom (N_exp_points-M_fitting_parameters). The value of chi2 depends very much on the experimental error values of your dependent variable.
By default the fitteia Fitter module considers only the experimental error of you dependent variable (let us call it ey). If you want to include the experimental error of your independe variable (let us call it ex) you have to propagate the error of x to y. Consider a linear error propagation: ey=ey'+|df/dx|ex (or var_y = sqrt(var_y'^2+ (df/dx)^2 var_x^2) for statistical errors). You can use the model function y=f(x) or calculate the numerical derivative of your experimental data (caution when using this since the numerical derivative is subject to high frequency fluctuations!!). If your data has 4 columns x ex y ey, try this in the columns calculation text box:
c1 c2 c3 c4 dc3/dc1
c1 c3 sqrt(c4*c4+c5*c5*c2*c2)
Check the "Calculate How to". Anyway, the columns are addressed by "c" followed by the order number (e.g. c1, c2, c3,...., designate col1, col2, col3,...). The data in the "Data" textfield is considered as a table and each line in "Calculate" textfield generates a new table that it is saved back in the "Data" textfield, that is used as a buffer. The columns of the new table are expressed by the arithmetic calculations involving the columns c1, c2, ... and/or the fitting parameter values (e.g. c2 c1 c3+c2 1.0) will generate a new table where columns 1 and 2 change order, new column 3 will get the result of previous col3+col2, and a new column with a common value 1 is added to the table).
Yes, you can include arithmetic calculations in almost all textfields. They are executed prior to any other operation.
Most probably your x axis includes the value "0" that produces a singularity in the y domain. Choose new x-axis limits.
Overwrite and Archive perform different actions. Archive performs a "save as" and adds the date to the file name. These archives files can not be overwritten. "Overwite" overwrites the /folder_name/file_name file.
Please send me an email to pedro.jose.sebastiao @ ist.utl.pt with your request and present a short justification.
There are two levels of user privileges "unaffiliated" and "affiliated". The latter one is allowed to write arbitrary fitting functions using a enahanced fitting interface. You can send an email to pedro.jose.sebastiao @ ist.utl.pt asking for this level of privilege and a short justification.
Yes. You can use reserved words "fitif" and "plotif" in special comment lines in the data textfield.
For instance if you have a few hundreds or thousands of experimental points (x,y,ey) to fit but you want to perform first a fit of just a few ones (e.g. one every 20 points, if the x>0) you might use "# fitif c1>0,20". The instruction "# plotif c1>0,10" will do the same when you just want to plot fitting curves and the experimental data. "fitif" and "plotif" can be used in the same line as in "# fitif plotif c1>0,20". In the Tutorial folde you can find example "Basic-fitif" where you can test the effect of these directives.
The "Value" column contains the the initial parameters values used by the CERN library MINUIT minimization routine applied to the χ2 function of the fitting parameters.
"Min" and "Max" colmns contain the fitting parameters limits in the fitting parameters space where MINUIT tries to find the point where χ2 is minimum.
"Error" column contains the output fitting parameters errors calculated by the MINUIT routine.
In the fitter or plotter modules you can try to run (Calculate) the following lines in the columns operator text area (below the data text box):
1:1:30
c1
select 1:1:end/3, i c1 and i+end/3 c1 and i+2*end/3 c1
the result should be a 3 columns table with 1 to 10 in the first column, 11 to 20 on the second and 21 to 30 on the third column.
In the calculator box of plotter module (identical for the fitter module) you can type:
0:0.01:1
c1*2*pi
c1 sin(c1)
c1 c2 Ic2dc1
You will get a 3 columns table with angle, sin(angle), integral_0^sin(angle) dangle
Click on split and check the result
Everytime a figure is generated it will be immediatly available for Import in the plotter module
Split# works in two diffente ways:
1- When a data set # contains DATA blocks, Split# will split data and create new data sets, one for each DATA block
2- When a data set # is composed of a table with many columns, Split# assumes that data is organized in the form "x y1 y2 y3 y4" and will inser new data sets one for each "x y1", "x y2", ... pair of columns.
The PDF file with the figure generated by the plotter module has the name "plt.pdf" (you can check it by browsing the files in your account area)
In the Report Editor you can either substitute one of the pdf files names by "plt.pdf" or uncomment one of the alternatives suggested in the text area.
After login (or whenever you select "MyFits" you have a list of all or fit projects (folders either created by you or shared with you). You can go to each one of then or use "manage", or "browse" to have a detailed view of the contents in each folder.
1- manage allows you to share a folder with another fitteia's user, or delete files (be careful to avoid deleting, by accidente, the entire folder)
2- browse allows you to navigate in your folders
Deleting files is an irreversible action!
Really? Well, there is a chance that your file was stored in the system's external storage drive in one of the regular system backups. If you really need to recover it please contact one of the fitteia team members.