3.3.2.12. A_FMM.Stack.get_el
- Stack.get_el(sel: str, i: int, j: int) complex
Returns element of the scattering matrix
Note: Modes are ordered for decrasing effective index
- Parameters:
sel (str) – First index of the matrix.
i (int) – Second index of the matrix.
j (int) – Select the relevand submatrix. Choises are ‘11’, ‘12’, ‘21’, ‘22’.
- Raises:
ValueError – If sel in not in the allowed.
- Returns:
Element of the scattering matrix.
- Return type:
complex