treams.SMatrices.from_array¶
- classmethod SMatrices.from_array(tm, basis)¶
S-matrix from an array of (cylindrical) T-matrices.
Create a S-matrix for a two-dimensional array of objects described by the T-Matrix or an one-dimensional array of objects described by a cylindrical T-matrix.
- Parameters:
tm (TMatrix or TMatrixC) – (Cylindrical) T-matrix to place in the array.
basis (PlaneWaveBasisByComp) – Basis definition.
eta (float or complex, optional) – Splitting parameter in the lattice sum.
- Returns:
SMatrix