opcsim 0.5.0
  • API
  • Tutorial
  • Gallery
  • Site
      • Installation
      • Contributing
      • API reference
      • Tutorial
      • Example gallery
  • Page
      • opcsim.AerosolDistribution

opcsim.AerosolDistribution¶

class opcsim.AerosolDistribution(label=None)¶

Define an aerosol distribution.

Assuming an aerosol distribution can be described as the sum of n lognormal modes, define as (Seinfeld and Pandis equation 8.54):

\[n_N^o(logD_p)=Σ_{i=1}^{n}\frac{N_i}{\sqrt{2π} logσ_i}exp(-\frac{(logD_p - logD̄_{pi})^2}{2log^2σ_i})\]
__init__(self, label=None)¶

Initialize an Aerosol Distribution.

Parameters
labelstring, optional

Label the distribution

Returns
AerosolDistribution

An instance of the AerosolDistribution class

Examples

>>> d = AerosolDistribution("Urban")

Methods

__init__(self[, label])

Initialize an Aerosol Distribution.

add_mode(self, n, gm, gsd[, label, kappa, …])

Add a mode to the distribution as defined using N, GM, and GSD.

cdf(self, dmax[, dmin, weight, mode, rh, rho])

Evaluate and return the cumulative probability distribution function between dmin and dmax.

pdf(self, dp[, base, weight, mode, rh, rho])

Evaluate and return the probability distribution function at particle diameter dp.

Back to top

Source

© Copyright 2016-2020, David H Hagan and Jesse H Kroll.
Created using Sphinx 3.0.3.