Returns a generator for the recursive calculation of the Pi function as defined in “Hahn, D. W. Light scattering theory Department of Mechanical and Aeorospace Engineering, University of Florida, 2009”, which is:
Where:
is a Legendre polynomial
Or, in the recursive form, as shown in Maetzler (Maetzler, C. Matlab functions for Mie scattering and absorption Institute of Applied Physics, University of Bern, 2002):
With:
Parameters : | nmax : int
costheta: np.array (N) :
|
---|---|
Returns : | Pi : generator
|