spheres.beams.viz_beam

spheres.beams.viz_beam(beam, size=3.5, n_samples=200)[source]

Visualizes a structured Gaussian beam with matplotlib.

Parameters
  • beam (func) – Beam function.

  • size (float) – Size of plot.

  • n_samples (int) – Number of samples of the beam function.