grasp2alm.BeamCut.to_polar¶
- BeamCut.to_polar(copol_axis='x')[source]¶
Converts beam in “cut” format to Stokes parameters on a polar grid. Assumes that cuts are evenly spaced in theta. 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 axis of copolarization. Must be either ‘x’ or ‘y’.
- Returns:
The beam in polar coordinates.
- Return type:
- Raises:
ValueError – If the beam is not in the expected format.