Professional Documents
Culture Documents
EXAMPLE
[Parameters] m=10 c= 1 [Variables] ADC=col(1) e=col(2) Initial guess at the gradient of the equation Initial guess at the y intercept of equation Defines the data in col(1) as ADC Defines the data in col(2) as e 141
PART II LABORATORY
[Equations] E=m*ADC+c Fit E to e
The equation will be of this form The programs performs a least square fit between E and e. It varies m and c until the fit of the experimental points e and the predicted points (E) are the smallest.
Note that in the above case we are creating a linear fit between the energy and ADC Channel. We could plot this data by hand, and then create a line of best fit however as you shall see later, Sigma Plot is a very powerful tool if you know how to use it. The same technique can be used to create quadratic, cubic or gaussian fits to data and all regressions are performed using a least squares fit. Run the fit and then keep results. Tick all three boxes. This places the parameters, values (functions) and differences between experimental and theoretical data (residuals) in col 3,4 and 5 respectively. Label these columns while you are here. Once, you have done this, save the session again. ( I found E=0.0239*ADC +9.59) NOTE : If your initial values were too accurate or you made a typo you may have encountered an error. Try reentering the above. If this does not work, consult your demonstrator.
EXAMPLE
m=0.0239 c=9.5918 ADC=col(1) E=m*ADC+c E0=938.3 P=SQRT(E*E+2*E0*E) Put P into col(6) The value obtained above Defines Data in col(1) as ADC Relates the ADC channel to the energy Calculates the momentum from the energy And finally it puts this value into col(6)
Execute this command. This transform will then place the resultant momentum values into col 6. As a check the final momentum value should be around 303.4. Label the column 6, save your work (CTRL S) and then youre finished. Please note that this tutorial has only covered the basics of Sigma Plot but it has hopefully introduced you to the power of this software. You have seen how to take your experimental data, create a graph, fit the data, create a
142
143