Notebooks

Warning

The notebooks were the original documentation of the project. Most of the material of the notebooks has been incorporated into the Manual section and is reproduced in the Tutorial. The notebooks are linked here for backward compatibility and to cover some content that is not yet included in the Manual section (e.g. the dual tandem DMA) or the FORTRAN integration.

The project is documented in a journal manuscript. The original submission included 12 Supplementary Jupyter Notebooks. The links open the notebooks in viewer mode via NBViewer. The notebooks have been edited for compatibility and readability. A virtual machine with working copies of the originally submitted notebooks are archived on zenodo. Instructions for setting up the machine are in the supporting information of the manuscript.

Manuscript (Open Access)

Notebook S1. Differential Mobility Analyzer

This notebook introduces the Differential Mobility Analyzer (DMA) and demonstrates basic functions. The notebook includes Figures of the schematic of the DMA, the size dependence of the Cunningham slip flow correction factor, particle diffusion coefficient, penetration efficiency through the DMA, and the fractional charging efficiency of the bipolar charger. It also includes examples of the normalized DMA transfer functions.

Notebook S2. Fredholm Integral Equation

This notebook introduces the Fredholm integral equation and derives the discretized solution via the forward convolution matrix. The notebook demonstrates how the convolution matrix is computed for any set of transmission functions.

Notebook S3. Size Distribution Arithmetic

This notebook introduces the SizeDistribution type. Seven unique operations are defined and showcased: (a) Multiplication of scalar and size distribution, (b) Multiplication of vector and size distribution, (c) Multiplication of matrix and size distribution, (d) Multiplication of size distribution and size distribution, (e) Division of size distribution and size distribution (f) Dot product of scalar and size distribution, (g) Dot product of vector and size distribution, and (h) Addition of two size distributions.

Notebook S4. Single Mobility Classification

This notebook demonstrates how the software can be used to find the true size distribution of monodisperse mobility selected particles. It also demonstrates how to compute the selected number, surface area, and volume concentration.

Notebook S5. Size Distribution Inversion Using Regularization

This notebook demonstrates how to invert a size distribution from a measured noisy response function. Application of the convolution matrix together with a Twomey inverse and the L-curve algorithm are used to invert a synthetic dataset.

Notebook S6. Size Distribution Inversion of Ambient Data

This notebook applies the regularized inverse to a published dataset. Results are compared to the inversion output of the manufacturer supplied software and evaluates the degree of agreement between this package and the manufacturer software.

Notebook S7. Size resolved CCN measurements

This notebook demonstrates calculations related to the the configuration where a single differential mobility analyzer is used together with a condensation particle counter and cloud condensation nuclei counter. It is demonstrated how to express the response function in terms of the language and how to fit the response function to infer the cloud droplet activation diameter.

Notebook S8. Hygroscopicity Tandem DMA

This notebook demonstrates calculations related to the configuration where the first differential mobility is used as classifier. The output is conditioned in a humidifier and the resulting size distribution is measured using a second DMA in scanning mode together with a condensation particle counter (or other instrument) as detector. It is demonstrated how the language can be used to express the response function of the second differential mobility analyzer used either with or without bipolar charger.

Notebook S9. Volatility Tandem DMA

This notebook demonstrates calculations related to the configuration where the first differential mobility is used as classifier. The output is conditioned in an evaporator or condenser and the resulting size distribution is measured using a second differential mobility analyzer in scanning mode together with a condensation particle counter (or other instrument) as detector. It is demonstrated how the language can be used to express the response function of the second differential mobility analyzer used either with or without bipolar charger.

Notebook S10. Dimer Coagulation and Isolation

This notebook demonstrates calculations related to the configuration where two DMAs are used to size select particles of opposite charge. The two populations are merged and allowed to coagulate. Coagulated dimers are isolated using an electrostatic filter. The dimers are charge neutralized and the size distribution is measured using a DMA operated in stepping or scanning mode. It is demonstrated how the language can be used to express the response function of the third differential mobility analyzer.

Notebook S11. PartMC Simulations

This notebook presents an overview over coagulation theory. It is shown how to predict the coagulated distribution using Size Distribution Arithmetic (Notebook S3). The approach is compared to model predictions with the Particle-resolved Monte Carlo code for atmospheric aerosol simulation (PartMC)

Notebook S12. FORTRAN API

This notebook demonstrates how to construct a convolution matrix using a DMA transfer function defined in a FORTRAN routine. The notebook explains how to compile the routine to a shared library and setup ccall to pass variables to and from the FORTRAN routine.

Link to Virtual Machine