pymiediff.coreshell.ab_scipy

Contents

pymiediff.coreshell.ab_scipy#

pymiediff.coreshell.ab_scipy(x, y, n, m1, m2, **kwargs)#

an and bn scattering coefficients

optimised to call the bessel functions the lowest amount of times

Absorption and scattering of light by small particles. Pg. 183 and Equ. 8.1.

Parameters:
  • x (torch.Tensor) – size parameter (core)

  • y (torch.Tensor) – size parameter (shell)

  • n (torch.Tensor) – orders to compute

  • m1 (torch.Tensor) – relative refractive index of core

  • m2 (torch.Tensor) – relative refractive index of shell

Returns:

result

Return type:

torch.Tensor, torch.Tensor