slmsuite.misc.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, the center of the hyperbola.
zr (float) – Rayleigh length, the depth of focus.
- Returns
w – Hyperbola evaluated at all
z
.- Return type
numpy.ndarray