_D_calc
- miepython.mie_jit._D_calc(m, x, N)[source]
Compute the logarithmic derivative of ψ_n(z) using the best method.
D_n(z) = d[log ψ_n(z)] = ψ_n’(z)/ψ_n(z)
here ψ_n(z) is the Riccati-Bessel function of the first kind ψ_n(z)=z*j_n(z) were j_n(z) is the spherical Bessel function of order n.
The zero-based array, D[:], is shifted so that D[0] = D₁(z) = ψ₁’(z)/ψ₁(z)
- Parameters:
m – the np.complex128 index of refraction of the sphere
x – the size parameter of the sphere
N – order of Ricatti-Bessel function
- Returns:
Array of logarithmic derivatives D_k(z) for k=1 to N-1.