grasp2alm.BeamGrid.to_polar

BeamGrid.to_polar(copol_axis='x')[source]

Converts beam in polar grid format into Stokes parameters on a polar grid. The value of copol specifies the alignment of the co-polar basis (‘x’ or ‘y’) of the input GRASP file.

Parameters:

copol_axis (str) – The copolarization axis. Must be ‘x’ or ‘y’.

Returns:

The beam grid in polar coordinates.

Return type:

BeamPolar

Raises:

ValueError – If the beam is not in the supported GRASP grid format.