Python library for the analysis and visualization of data from a Scanning Mobility Particle Sizer (SMPS) and other particle sizing instruments (SEMS, OPC's).
The full list of dependencies can be found in the pyproject.toml
file and are summarized below:
python = ">=3.8, <3.12"
statsmodels = "^0.13"
seaborn = "^0.10"
joblib = "^1.0"
requests = "^2.24"
scipy = "^1.9"
numpy = "^1.23.2"
pandas = "^1.4"
As of v1.2.0a0
, the library should be compatible with Apple silicone (tested on both M1 and M2).
Python3.8 through Python3.11 are currently supported.
To install from PyPi:
$ pip install py-smps [--upgrade]
If you'd like the latest pre-release:
$ pip install py-smps --pre [--upgrade]
To install the edge release directly from GitHub:
pip install git+https://github.com/quant-aq/py-smps.git
Unittests can be run by issuing the following command from within the main repo:
$ poetry run pytest -s tests/ --ignore=tests/datafiles
Documentation is available here. Docs are built using Sphinx and can be built locally by doing the following:
$ cd docs/
$ make clean
$ make guides
$ make html
$ cd ..
Then, you can navigate to your local directory at docs/_build/html/
and open up the index.html
file in your preferred browser window.
We welcome all contributions from the community in the form of issues reporting, feature requests, bug fixes, etc.
If there is a feature you would like to see or a bug you would like to report, please open an issue. We will try to get to things as promptly as possible. Otherwise, feel free to send PR's!