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

opcsim.Nephelometer.calibrate¶

Nephelometer.calibrate(self, distribution, rh=0.0, \*\*kwargs)¶

Calibrate a Nephelometer using any AerosolDistribution.

Parameters
distribution: opcsim.AerosolDistribution

The aerosol distribution used to calibrate the Nephelometer.

rh: float

The relative humidity at which the calibration takes place. Default is 0 %.

Returns
None

Examples

Build and calibrate a Nephelometer to a simple 1-mode distribution of Ammonium Sulfate.

>>> neph = Nephelometer(wl=0.6, theta=(7., 173.))
>>>
>>> d = opcsim.AerosolDistribution("AmmSulf")
>>> d.add_mode(n=1000, gm=0.2, gsd=1.25, refr=complex(1.521, 0), rho=1.77, kappa=0.53)
>>> 
>>> neph.calibrate(d, rh=0.)

Back to top

Source

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