A spectral line is modelled as a Gaussian,

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⁡ ⁣[−(λ−λ0)22w2]I(\lambda) = I_0 \exp\!\left[-\dfrac{(\lambda-\lambda_0)^2}{2w^2}\right], with the width fixed at w=2.0 nmw = 2.0\,\mathrm{nm} (known from the instrument) and the amplitude I0I_0 and centre λ0\lambda_0 to be fitted. Three intensities are measured, each with the same uncertainty:
λ\lambda (nm)498500502
II (counts)409055
Starting from the guess I0=80 countsI_0 = 80\,\mathrm{counts}, λ0=499 nm\lambda_0 = 499\,\mathrm{nm}, carry out one Gauss-Newton step. (a) Evaluate the residuals and the two partial derivatives ∂I/∂I0\partial I/\partial I_0 and ∂I/∂λ0\partial I/\partial \lambda_0 at the starting guess, for the three wavelengths. (b) Assemble the 2×22\times2 normal equations JTJ Δp=JTrJ^{\mathsf T}J\,\Delta\mathbf{p}=J^{\mathsf T}\mathbf{r} (the common weight cancels as in a fit with equal uncertainties). (c) Solve for ΔI0\Delta I_0 and Δλ0\Delta \lambda_0 and report the updated I0I_0 and λ0\lambda_0 to three significant figures.

Browse the problem library