treams._operators.changepoltype#
- treams._operators.changepoltype(poltype=None, *, basis, where=True)[source]#
Matrix to change polarization types.
The polarization is switched between helicity and parity.
- Parameters:
poltype (str, optional) – Polarization, see also Polarizations.
basis (
treams.BasisSetor 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.