Set of Functions¶
Particle size distributions (aersols_psd)¶
Note
- Author R. Checa-Garcia
- License GPLv3 (GNU General Public License version 3)
- Date 2020-01-01 (last update see github)
- Other requirements xarray , matplotlib
Set of functions to get statistics information of the modal particle size distributions, create plots (using matplotlib) with the modal distributions, and perform a binning of typical aerosols diagnostics. To manage the netCDF files for binning methods, it is used the library xarray
- Log-normal distribution
- Binning of (time, lat, lon) fields. Tests for tendency fluxes (emissions, dry and wet deposition)
See also
Examples Lognormal distribution
Examples Binning of modal emissions
Tests
- If you run
python3 lognormal.py
the code perform several unittests. - The code for bins has been tests, the example is at the code.
- There are few private methods (not in documentation but in the code) with examples/tests.
- If you run
Mie Scattering (pymie_core)¶
- Author R. Checa-Garcia
- License GPLv3 (GNU General Public License version 3)
- Date 2014-11-10
- Other requirements none
Set of function to calculate mie scattering properties of spheres. It also possible to estimate for a distribution of spheres given the frecuency per size bin.
- Outputs:
- Scattering matrix elements F11, F12, F33, and F34
- Extinction effiency factor (Qext)
- Extinction cross section (Cext)
- Scattering effiency factor (Qsca)
- Scattering cross section (Csca)
- Absorption effiency factor (Qabs)
- Absorption cross section (Cabs)
- Backscattering effiency factor (Qbk)
- Backscattering cross section (Cbk)
- Radiation pressure effiency factor (Qpr)
- Single scattering albedo (albe)
- Scattering asymetry factor (g)
- Inputs:
- Optical Information: complex refraction index
See also
Examples Example of Mie scattering sphere
Tests
- If you run
python3 pymie_core.py
the code perform several unittests.
- If you run