M2_radius_plot
- laserbeamsize.m2_display.M2_radius_plot(z, d, lambda0, strict=False, z0=None, d0=None)[source]
Plot radii, beam fits, and asymptotes.
Example:
>>>> import numpy as np >>>> import laserbeamsize as lbs >>>> lambda0 = 632.8e-9 # meters >>>> z = np.array([168, 210, 280, 348, 414, 480, 495, 510, 520, 580, 666, 770]) >>>> r = np.array([597, 572, 547, 554, 479, 403, 415, 400, 377, 391, 326, 397]) >>>> lbs.M2_radius_plot(z * 1e-3, 2 * r * 1e-6, lambda0) >>>> plt.show()
- Parameters:
z – array of axial position of beam measurements [m]
d – array of beam diameters [m]
lambda0 – wavelength of the laser [m]
- Returns:
nothing