AerosolDistribution.
add_mode
(self, n, gm, gsd, label=None, kappa=0.0, rho=1.0, refr=1.5 + 0j)¶Add a mode to the distribution as defined using N, GM, and GSD. Additionally, each mode has optical and chemical properties that can be set including: the k-kohler coefficient, the density, and the refractive index.
Total number of particles (#/cc)
Median particle diameter (Geometric Mean) in units of microns.
Geometric Standard Deviation
Label for the mode
The k-kohler coefficient to describe hygroscopic growth. Default is 0.
The particle density in units of g/cm3. Default is 1.
The complex refractive index. Default is 1.5+0i. This should be the dry refractive index. If/when the distribution is evaluated at a non-zero RH, the refractive index will be adjusted based on it’s water content at that RH using the defined kappa value.
Examples
Create a single-mode aerosol distribution with parameters N=7100, GM=11.7 nm, GSD=1.706. These are the sample parameters for the first mode of a typical Urban aerosol distribution as described in Seinfeld and Pandis (Table 8.3).
>>> d = AerosolDistribution("Urban")
>>> d.add_mode(n=7100, gm=0.0117, gsd=1.706, label="Mode 1")
We can also go ahead and add the second and third modes if we so choose:
>>> d.add_mode(n=6320, gm=0.0373, gsd=1.778, label="Mode 2")
>>> d.add_mode(n=960, gm=0.151, gsd=1.599, label="Mode 3")