grasp2alm.BeamPolar.stokes_rotate#
- BeamPolar.stokes_rotate()[source]#
Rotates \(Q\) and \(U\) Stokes parameters from the co-cross basis to the polar basis.
The \(Q\) and \(U\) Stokes parameters are usually represented in the co-cross basis, where the co-polar direction is aligned with the y-axis (consistent with Ludwig 3 convention). For the purposes of extracting the spherical harmonic coefficients, it is more useful to represent them in the polar basis. Unlike the original LevelS’s method, this function operates on a deepcopy of the input
BeamPolar, so it does not perform destructive actions.- Returns:
A new instance of
BeamPolarwith the rotated stokes beam.- Return type: