Figure 5. Fitting of two erf step functions to a one-dimensional layer cross section. The position and width of the step functions are visualized using two Gaussians, expressing their derivatives. The difference in position is an estimation of the layer thickness. The width parameter σ of the Gaussians is taken as a measure of the spatial resolution of the method.