treams.TMatrix.cluster

classmethod TMatrix.cluster(tmats, positions)

Block-diagonal T-matrix of multiple objects.

Construct the initial block-diagonal T-matrix for a cluster of objects. The T-matrices in the list are placed together into a block-diagonal matrix and the complete (local) basis is defined based on the individual T-matrices and their bases together with the defined positions. In mathematical terms the matrix

\[\begin{split}\begin{pmatrix} T_0 & 0 & \dots & 0 \\ 0 & T_1 & \ddots & \vdots \\ \vdots & \ddots & \ddots & 0 \\ 0 & \dots & 0 & T_{N-1} \\ \end{pmatrix}\end{split}\]

is created from the list of T-matrices \((T_0, \dots, T_{N-1})\). Only T-matrices of the same wave number, embedding material, and polarization type can be combined.

Parameters:
  • tmats (Sequence) – List of T-matrices.

  • positions (array) – The positions of all individual objects in the cluster.

Returns:

TMatrix