grasp2alm.BeamPolar.plot

BeamPolar.plot(stokes='I', color_resol=20, figsize=6, cmap='inferno', return_fields=False)[source]

Plot the beam.

Parameters:
  • stokes (str) – The Stokes parameter to plot. Can be “I”, “Q”, “U”, or “V”.

  • color_resol (int) – Number of color levels in the plot.

  • figsize (int) – Size of the figure.

  • cmap (str) – Colormap to use.

  • return_fields (bool) – Flag indicating whether to return the plot fields.

Returns:

  • None (if return_fields is False (default))

  • (ndarray,ndarray,ndarray) (if return_fields is True returns x,y,z values of the plot.)