opcsim.equations.cdf.
nt
(n, gm, gsd, dmin=None, dmax=10.0)¶Evaluate the total number of particles between two diameters.
The CDF of a lognormal distribution is calculated using equation 8.39 from Seinfeld and Pandis.
Mathematically, it is represented as:
Total aerosol number concentration in units of #/cc
Median particle diameter (geometric mean) in units of microns.
Geometric Standard Deviation of the distribution.
The minimum particle diameter in microns. Default value is 0 \(\mu m\).
The maximum particle diameter in microns. Default value is 10 \(\mu m\).
Returns the total number of particles between dmin and dmax in units of [\(particles*cm^{-3}\)]
Examples
Evaluate the number of particles in a simple distribution between 0 and 2.5 \(\mu m\):
>>> d = opcsim.AerosolDistribution()
>>> d.add_mode(1e3, 100, 1.5, "mode 1")
>>> n = opcsim.equations.cdf.nt(1e3, 0.1, 1.5, dmax=2.5)