Operations on S-Matrices

Symmetry operations can be applied directly to the S-matrices.

smat_oparations.flip_smat(s_mat)

Flip a given S-Matrix

Parameters:s_mat (L x 4 x 4 numpy Array) – S-Matrix
Returns:s_out – flipped S-Matrix
Return type:L x 4 x 4 numpy Array
smat_oparations.mirror_smat(s_mat)

Mirror a given S-Matrix

Parameters:s_mat (L x 4 x 4 numpy Array) – S-Matrix
Returns:s_out – mirrored S-Matrix
Return type:L x 4 x 4 numpy Array
smat_oparations.phase_shift(smat, ang)

Shifting the phase of a given S-Matrix by a given angle

Parameters:
  • s_mat (L x 4 x 4 numpy Array) – S-Matrix
  • ang (float) – rotaion angle in rad
Returns:

s_out – shifted S-Matrix

Return type:

L x 4 x 4 numpy Array

smat_oparations.rot_smat(s_mat, ang)

Rotate a given S-Matrix by a given angle

Parameters:
  • s_mat (L x 4 x 4 numpy Array) – S-Matrix
  • ang (float) – rotaion angle in rad
Returns:

s_out – rotated S-Matrix

Return type:

L x 4 x 4 numpy Array