Presentation is loading. Please wait.

Presentation is loading. Please wait.

Introduction Fitting program - goal is to vary the fit parameters to minimize the chi-square defined as: data points errors function Fit parameters f{g,x)

Similar presentations


Presentation on theme: "Introduction Fitting program - goal is to vary the fit parameters to minimize the chi-square defined as: data points errors function Fit parameters f{g,x)"— Presentation transcript:

1 Introduction Fitting program - goal is to vary the fit parameters to minimize the chi-square defined as: data points errors function Fit parameters f{g,x) = 2πsqrt(length/g)

2 Basketball Movie Go to the notes for Week 3 find data Excel file time Y-velY-pos

3 Import to IGOR Make waves - called: tt, ypos and yvel Make table - Under Windows - new table Then cut from the Excel file and paste into IGOR table

4 Graph Position Data

5 Fit Data to a Polynomial This dialog box - from choosing Curve Fitting under Analysis in the main menu Built - in functions are available 3 terms or quadratic Specify waves for the fit

6 Results of Fit

7 Fit in a Range of Data With a graph selected - under the Graph menu select Show Info - then move cursors over the data points that define the range to be fitted

8 Procedure 1.Define error wave and inverse error wave. In this example: err and errinv= 1/err. 2.In the graph of period vs length, use markers for data and show error bars. 3.Define the user-function in the Procedure window. In this example pend 4.Make fitting coefficients wave and set to reasonable starting values. In this example coef.

9 Evaluating Fit

10 Terminal Velocity


Download ppt "Introduction Fitting program - goal is to vary the fit parameters to minimize the chi-square defined as: data points errors function Fit parameters f{g,x)"

Similar presentations


Ads by Google