fitting.waist

fitting.waist(z, A, y0, z0, w0)

Use this function to fit the integrated intensity profile obtained by translating a knife edge through the waist of a laser beam. Mathematically, this is an error function.

Parameters:
  • z (array) – Position of knife edge perpendicular to the beam axis.
  • A (float) – Total integrated intensity.
  • y0 (float) – Offset / constant background.
  • z0 (float) – Center of beam on axis perpendicular to beam axis.
  • w0 (float) – Beam waist defined as 1 / e^2 - radius of intensity.
Returns:

Intensity profile obtained by knife-edge method: f(x) = y_0 + \frac{A}{2} [ 1  + \mathrm{erf}( \sqrt{2} (z - z_0) / w_0 ) ].