slmsuite.holography.analysis.fitfunctions.hyperbola#
- hyperbola(z, w0, z0, zr)[source]#
For fitting a hyperbola.
\[w(z) = w_0 \sqrt{1 + \left[\frac{z - z_0}{z_R}\right]^2}.\]- Parameters:
z (numpy.ndarray) – Distance.
w0 (float) – Beamradius at \(z = z_0\).
z0 (float) – Plane of focus \(x_0\), the center of the hyperbola.
zr (float) – Rayleigh length \(z_R\), the depth of focus.
- Returns:
w – Hyperbola evaluated at all
z.- Return type:
numpy.ndarray