treams.misc.basischange¶
- treams.misc.basischange(out, in_=None)¶
Coefficients for the basis change between helicity and parity modes.
- Parameters:
out (3- or 4-tuple of (M,)-arrays) – Output modes, the last array is taken as polarization.
in (3- or 4-tuple of (N,)-arrays, optional) – Input modes, if none are given, equal to the output modes
- Returns:
float, ((M, N)-array