treams.changepoltype

treams.changepoltype(poltype=None, *, basis, where=True)

Matrix to change polarization types.

The polarization is switched between helicity and parity.

Parameters:
  • poltype (str, optional) – Polarization, see also Polarizations.

  • basis (BasisSet or tuple) – Basis set, if it is a tuple of two basis sets the output and input modes are taken accordingly, else both sets of modes are the same.

  • where (array-like, bool, optional) – Only evaluate parts of the matrix, the given array must have a shape that matches the output shape.