API Reference¶
Aerosol Distributions¶
Aerosol Distribution Class
|
Define an aerosol distribution. |
AerosolDistribution Methods
|
Add a mode to the distribution as defined using N, GM, and GSD. |
|
Evaluate and return the probability distribution function at particle diameter dp. |
|
Evaluate and return the cumulative probability distribution function between dmin and dmax. |
Models¶
OPC¶
OPC Class
|
Define an Optical Particle Counter (OPC) with unique properties for wavelength, bins, and viewing angle. |
OPC Methods
|
Calibrate the OPC assuming a specific material. |
|
Return the total number of particles in each bin for a given AerosolDistribution. |
|
Return a histogram containing the [weight] of particles in each OPC bin. |
|
Integrate the distribution according to the OPC for any [weight]. |
Nephelometer¶
Nephelometer Class
|
Define a Nephelometer by its wavelength and range of viewing angles. |
Nephelometer Methods
|
Calibrate a Nephelometer using any AerosolDistribution. |
|
Evaluate a Nephelometer for an AerosolDistribution at a given relative humidity. |
Visualization¶
|
Plot the particle size distribution as a histogram/bar chart. |
|
Plot the PDF of an aerosol size distribution. |
|
Plot the CDF of a particle size distribution. |
|
Metrics Functions¶
Assess the ability of an OPC to assign particles to their correct bin. |
Utility Functions¶
|
Load sample distributions as described by Seinfeld+Pandis Table 8.3. |
|
Returns a 3xn array of bin diameters. |
|
Returns a 3xn array of bin diameters. |
|
Calculate the wet diameter of a particle based on the hygroscopic growth parameter, kappa (k-Kohler theory). |
|
Calculate the effective density of a particle by calculating the wet and dry percentages and taking the weighted sum. |
|
Calculate the effective k-kohler coefficient from an array of kappa values and their weights. |
|
Calculate the effective refractive index for an array of refractive indices and their respective weights. |
Mie Theory Calculations¶
|
Compute the angle-dependant functions (pi and tau) using upward recurrence. |
|
Compute the external field coefficients using the logarithmic derivative. |
|
Compute the complex scattering amplitudes S1 and S2 at angle theta. |
|
Compute the scattering cross section between two angles according to Jaenicke and Hanusch (1993). |
Equations¶
|
Evaluate the number distribution as a lognormal PDF. |
|
The surface-area weighted PDF of a lognormal distribution as calculated using equation 8.4 from Seinfeld and Pandis. |
|
The volume weighted PDF of a lognormal distribution as calculated using equation 8.6 from Seinfeld and Pandis. |
|
The PDF of a lognormal distribution as calculated using equation 8.33 by way of 8.21 from Seinfeld and Pandis. |
|
The surface-area weighted PDF of a lognormal distribution as calculated using equation 8.10 from Seinfeld and Pandis. |
|
The volume weighted PDF of a lognormal distribution as calculated using equation 8.10 from Seinfeld and Pandis. |
|
The PDF of a lognormal distribution on a log10 basis as calculated using equation 8.18 from Seinfeld and Pandis. |
|
The surface-area weighted PDF of a lognormal distribution as calculated using equation 8.19 from Seinfeld and Pandis. |
|
The volume weighted PDF of a lognormal distribution as calculated using equation 8.20 from Seinfeld and Pandis. |
|
Evaluate the total number of particles between two diameters. |
|
Evaluate the total surface area of the particles between two diameters. |
|
Evaluate the total volume of the particles between two diameters. |