pymiediff.Particle.get_mie_coefficients

pymiediff.Particle.get_mie_coefficients#

Particle.get_mie_coefficients(k0: Tensor, return_internal=False, **kwargs) dict#

Compute Mie coefficients for the current particle.

Parameters:
  • k0 (torch.Tensor) – Vacuum wavevector(s), in rad/nm.

  • return_internal (bool, default=False) – Forwarded to backend coefficient solver.

  • **kwargs – Additional keyword arguments passed to pymiediff.multishell.mie_coefficients().

Returns:

Mie coefficients and metadata.

Return type:

dict