Wiki index.


libszdist is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

libszdist is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details at


libszdist is a C++ library and utility programs used to invert DMPS raw data. It can be compiled on virtually any platform, including Linux, Windows, Mac, and a wide range of architectures from desktop computers to ARM single board computers. The only requirements are the standard C library and a recent GNU compiler.

This code implements the recommendations from the harmonization paper that resulted from a collaboration of many scientists worldwide, in 2012.

If you want to be notified when the news of the projects are published, subscribe to the Atom feed.


The documentation can be generated from the source code with Doxygen. It is in HTML format by default but can be generated in LaTeX too.

Useful tricks

Batch processing : how to process a batch of files in a single command.
Log output : how to redirect program output to a log file.
Build the list of diameters : how to generate a logarithmically distributed list of diameters from start D P, end D P and number of bins.