PHYSICS · Subjective · Fermi University Physics · Scientific Practice & Experimental Methods · Mathematical Methods for Physics · Data analysis and model fitting in the laboratory
Computational Physics, Ch Finding the best parameters: minimisation and fitting
Problem
A spectral line is modelled as a Gaussian, I(λ)=I0exp[−2w2(λ−λ0)2], with the width fixed at w=2.0nm (known from the instrument) and the amplitude I0 and centre λ0 to be fitted. Three intensities are measured, each with the same uncertainty:
λ (nm)
498
500
502
I (counts)
40
90
55
Starting from the guess I0=80counts, λ0=499nm, carry out one Gauss-Newton step.
(a) Evaluate the residuals and the two partial derivatives ∂I/∂I0 and ∂I/∂λ0 at the starting guess, for the three wavelengths.
(b) Assemble the 2×2 normal equations JTJΔp=JTr (the common weight cancels as in a fit with equal uncertainties).
(c) Solve for ΔI0 and Δλ0 and report the updated I0 and λ0 to three significant figures.