opcsim 0.5.0
  • API
  • Tutorial
  • Gallery
  • Site
      • Installation
      • Contributing
      • API reference
      • Tutorial
      • Example gallery
  • Page
      • opcsim.mie.coef_ab

opcsim.mie.coef_ab¶

opcsim.mie.coef_ab(refr, x)¶

Compute the external field coefficients using the logarithmic derivative.

Bohren and Huffman (1983) equations 4.88 and 4.89 show how to compute \(a_n\) and \(b_n\) using the logarithmic derivative (Aden, 1951).

\[a_n=\frac{[D_n(mx)/m + n/x]\psi_n(x) - \psi_{n-1}(x)}{[D_n(mx)/m + n/x]\xi_n(x) - \xi_{n-1}(x)},\]
\[b_n=\frac{[mD_n(mx) + n/x]\psi_n(x) - \psi_{n-1}(x)}{[mD_n(mx) + n/x]\xi_n(x) - \xi_{n-1}(x)}\]

where the logarithmic derivative is computed as:

\[D_{n-1}=\frac{n}{\rho}-\frac{1}{D_n + n/\rho}\]
Parameters
refr: complex

The complex refractive index of the material.

x: float

The dimensionless size parameter.

Returns
a_n, b_n: np.ndarray of floats

The external field coefficients.

Back to top

Source

© Copyright 2016-2020, David H Hagan and Jesse H Kroll.
Created using Sphinx 3.0.3.