Skip to main content

A framework for processing adsorption data for porous materials.

Project description



https://raw.githubusercontent.com/pauliacomi/pyGAPS/master/docs/logo.svg

Overview

pyGAPS (Python General Adsorption Processing Suite) is a framework for adsorption data analysis and fitting, written in Python 3.

Features

  • Advanced adsorption data import and manipulation.

  • Routine analysis such as BET/Langmuir surface area, t-plots, alpha-s plots, Dubinin plots etc.

  • Pore size distribution calculations for mesopores (BJH, Dollimore-Heal).

  • Pore size distribution calculations for micropores (Horvath-Kawazoe).

  • Pore size distribution calculations using kernels (DFT, QSDFT, …)

  • Isotherm fitting with various models (Henry, Langmuir, DS/TS Langmuir, etc..)

  • Isosteric enthalpy of adsorption calculations.

  • IAST predictions for binary and multicomponent adsorption.

  • Parsing to and from multiple formats such as AIF, Excel, CSV and JSON.

  • Simple methods for isotherm graphing and comparison.

  • An database backend for storing and retrieving data.

Documentation

pyGAPS is built with three key mantras in mind:

  • Opinionated: there are many places where the code will suggest or default to what the it considers a good practice. As examples: the standard units, pore size distribution methods and BET calculation limits.

  • Flexible: while the defaults are there for a reason, you can override pretty much any parameter. Want to pass a custom adsorbate thickness function or use volumetric bases? Can do!

  • Transparent: all code is well documented and open source. There are no black boxes.

In-depth explanations, examples and theory can be found in the online documentation. If you are familiar with Python and adsorption and want to jump right in, look at the quickstart section. Examples for each of the capabilities specified above can be found documented here. Most of the pages are actually Jupyter Notebooks, you can download them and run them yourself from the /docs/examples folder.

To become well familiarised with the concepts introduced by pyGAPS, such as what is an Isotherm, how units work, what data is required and can be stored etc., a deep dive is available in the manual.

Finally, having a strong grasp of the science of adsorption is recommended, to understand the strengths and shortcomings of various methods. We have done our best to explain the theory and application range of each capability and model. To learn more, look at the reference or simply call help() from a python interpreter (for example help(pygaps.PointIsotherm).

Citing

Please consider citing the related paper we published if you use the program in your research.

Paul Iacomi, Philip L. Llewellyn, Adsorption (2019). pyGAPS: A Python-Based Framework for Adsorption Isotherm Processing and Material Characterisation. DOI: https://doi.org/10.1007/s10450-019-00168-5

Installation

The easiest way to install pyGAPS is from the command line. Using pip for example:

pip install pygaps

or Anaconda/Conda:

conda install -c conda-forge pygaps

If you are just starting out, Anaconda/Conda is a good bet since it manages virtual environments for you. Check out Installation for more details.

Development

To install the development branch, clone the repository from GitHub. Then install the package with pip either in regular or developer mode.

git clone https://github.com/pauliacomi/pyGAPS

# then install
pip install ./pyGAPS

# or in editable/develop mode
pip install -e ./pyGAPS

If you want to contribute to pyGAPS or develop your own code from the package, check out the detailed information in CONTRIBUTING.rst.

Bugs or questions?

For any bugs found, please open an issue or, even better, submit a pull request. It’ll make my life easier. This also applies to any features which you think might benefit the project. I’m also more than happy to answer any questions. Shoot an email to mail( at )pauliacomi.com or find me at https://pauliacomi.com or on Twitter.

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

pygaps-4.1.2.tar.gz (281.0 kB view details)

Uploaded Source

Built Distribution

pygaps-4.1.2-py3-none-any.whl (324.7 kB view details)

Uploaded Python 3

File details

Details for the file pygaps-4.1.2.tar.gz.

File metadata

  • Download URL: pygaps-4.1.2.tar.gz
  • Upload date:
  • Size: 281.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for pygaps-4.1.2.tar.gz
Algorithm Hash digest
SHA256 3c53678a5d58aa1cf95a1bcb7f759f1249733801bfbe9a8fb06c02ee4a2417e3
MD5 280ace1bcb4ba1f147dd81e5d97985a8
BLAKE2b-256 4ec0f85a78e4533f708f14e107e441bc7f464af188cacbb6c4f1fdc676c76bfb

See more details on using hashes here.

Provenance

File details

Details for the file pygaps-4.1.2-py3-none-any.whl.

File metadata

  • Download URL: pygaps-4.1.2-py3-none-any.whl
  • Upload date:
  • Size: 324.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for pygaps-4.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f0312d914c47c7faf0666e83c53b682ae30d1fae6e41642821088bddefe825cb
MD5 2880791ab1eca5edbe299a5ee0c3e7c4
BLAKE2b-256 33fa8b1c64e94d3636fb7acef3c0d1343529da406a322663eb9cf8a3ed8bad27

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