treams.TMatrix.sphere¶
- classmethod TMatrix.sphere(lmax, k0, radii, materials, poltype=None)¶
T-Matrix of a (multi-layered) sphere.
Construct the T-matrix of the given order and material for a sphere. The object can also consist of multiple concentric spherical shells with an arbitrary number of layers. The calculation is always done in helicity basis.
- Parameters:
lmax (int) – Positive integer for the maximum degree of the T-matrix.
k0 (float) – Wave number in vacuum.
radii (float or array) – Radii from inside to outside of the sphere. For a simple sphere the radius can be given as a single number, for a multi- layered sphere it is a list of increasing radii for all shells.
material (list[Material]) – The material parameters from the inside to the outside. The last material in the list specifies the embedding medium.
poltype (str, optional) – Polarization type (Polarizations).
- Returns:
TMatrix