profilometer.get_film_thickness

profilometer.get_film_thickness(z, plotHist=False, dz=5e-09)

Extract film thickness from height profile using histogram analysis and two Gaussians.

Parameters:
  • z (2d_array) – Z coordinates / height profile.
  • plotHist (bool) – If True, the histogram and fit results are plotted in a new figure (optional).
  • dz (float) – Step size in nm used to calculate the number of bins for the histogram (default = 5nm).
Returns:

Extracted height of the thin film along with its uncertainty in meters (float, float).