mie_ab_to_optical_properties
mie_ab_to_optical_properties(ab, radius, wavelength, n_med) ⇒ object
Calculates the final optical properties by summing the Mie coefficients. This function implements Equations (2) and (3) from the 2007 paper "Computing the Scattering Properties of Participating Media..."
Kind: global function
Returns: object - An object with Q_e, Q_s, albedo, C_ext, and C_sca.
| Param | Type | Description |
|---|---|---|
| ab | Float32Array | The flat array of a_n, b_n coefficients from LorenzMie_coefs. |
| radius | number | Particle radius (in meters). |
| wavelength | number | Wavelength of light in vacuum (in meters). |
| n_med | vec2 | Complex refractive index of the medium (e.g., [1.0, 0.0] for air). |