treams.misc.pickmodes

treams.misc.pickmodes(out, in_)

Coefficients to pick 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