Skip to main content

aerosolpy is a collection of functions andclasses useful in calculations related to aerosol science

Project description

aerosolpy

The aerosolpy package provides a python framework for conducting Aerosol Physics and Chemistry computations.

Description

aerosolpy provides functionality for calculating aerosol related basic functions: typical unit conversion, math operations and time operations (as aerosol data often deal with time series)

aerosolpy also includes classes for calculations of more complex aerosol mechanics and kinetics.

Submodules

  1. aerosolpy includes the submodule aerosolpy.instr which provides functionality related to typical aerosol measurement devices. Currently supports differential mobility analyzers (DMAs) or condensation particle counters (CPCs).

Installation

aerosolpy is intended to be a python package indexed in PyPi and installation will be made possible via pip. As soon as this is available it can be installed via: pip install aerosolpy

Currently this is not impelmented yet and the package needs to be installed from source. A setup.py file is included in the package. Please find the source code available in the public GitHub repository of aerosolpy.

There are two options for installation.

  1. Download .tar.gz file from GitLab. Go to the path of your current python environment. In conda use: conda info --envs to see where your environment is installed. In that path find the absolute path to python.exe, for example: "C:\Program Files\Anaconda3\python.exe" Now, run the following command: <absolute path to python.exe> -m pip install <path to tar.gz> Note that can be relative, absolute and even an online link.

  2. Clone the repository from GitLab using e.g., ssh. Go to the path of the clondes repository and run: python setup.py install command or its usual variants (python setup.py install --user, python setup.py install --prefix=/PATH/TO/INSTALL/DIRECTORY, etc.)

Prerequisits

Python 3 needs to be used.

Current prerequisits:

numpy>=1.21 scipy>=1.7.3 pandas>=1.4.2

Usage

aerosolpy can be currently used for:

  1. aerosol mechanics calculations e.g., mean free path of aerosols and vapors, slip correction, diffusion coefficients, diffusional losses.
  2. aerosol kinetics calculations such as collision kernels
  3. aerosol utilities such as unit conversions, math operations (e.g., integration of size distributions)

Once installed as outlined above you can simply import aerosolpy:

import aerosolpy as ap

Support

The package is maintained by Dominik Stolzenburg. All requests should be directed to dominik.stolzenburg@tuwien.ac.at or open an issue on GitHub

Documentation

Up-to-date Documentation and full API is hosted on readthedocs.io

Roadmap

  1. Full implementation of above described functionalization.
  2. Fist release and packaging
  3. Future updates on the following submodules: instruments, growth, dynamics.
  4. Publish a software paper describing the package.

Contributing

Contributions are welcome.

Branching strategy

Follows GitHub Flow, but with branching off releases as in GitLab Flow.

For new features, create an issue first, then work on a feature branch until ready for merge to main.

Continuous integration

We use GitHub Actions for continous integration. Updates should include test suites using pytest.

Automated builds are performed upon each push and pull request. Currently CI builds using pip and Linux. Furture developement should also implement CI builds using conda and Windows as the package will have probably many Windows users.

Authors and acknowledgment

If the project is to be acknowledged, references to the gitlab repository are welcome.

License

Licensed under the MIT license. See also LICENSE file.

Project status

Almost all code already exists, but the repo needs to be properly build, and documentations needs to be completed. Release 0.1.0 is being prepared currently.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aerosolpy-0.1.0.tar.gz (17.7 kB view details)

Uploaded Source

File details

Details for the file aerosolpy-0.1.0.tar.gz.

File metadata

  • Download URL: aerosolpy-0.1.0.tar.gz
  • Upload date:
  • Size: 17.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.12

File hashes

Hashes for aerosolpy-0.1.0.tar.gz
Algorithm Hash digest
SHA256 60effcb38fcbeff2fb4743170d21a220130c34b679aba974ce56fecec85f1812
MD5 fcb126fed7669c42f389fb8562c5636d
BLAKE2b-256 4b405c3fb5333dba6bbe17d0cc55ae39310f4a58c9b14da87abcec40ed2d8de6

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page