opcsim.mie.
coef_pi_tau
(theta, x)¶Compute the angle-dependant functions (pi and tau) using upward recurrence.
Per Bohren and Huffman (1983) eq. 4.47, the angle-dependant functions \(\pi_n\) and \(\tau_n\) can be computed using upward recurrance from the relations:
The scattering angle in degrees.
The dimensionless size parameter, used to determine the number of elements to compute.