Skip to main content


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.

status

Project Status: Active – The project has reached a stable, usable state and is being actively developed. Commits since latest release

docs

Documentation Status

license

Project License

tests

GHA-CI Build Status Coverage Status
Requirements Status

package

PyPI Package latest release PyPI Wheel
Supported versions Supported implementations

Features

  • Advanced adsorption data import and manipulation.

  • A fully feature thermodynamic backend allowing conversions between pressures, temperatures, loadings, etc.

  • 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..)

  • 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).

Support and sponsorship

This project is graciously sponsored by Surface Measurement Systems, by employing Paul Iacomi, the core maintainer. The work would not be possible without their contribution, keeping this open source project alive.

https://raw.githubusercontent.com/pauliacomi/pyGAPS/master/docs/figures/SMS-Logo.jpg

If you are interested in implementing a particular feature, or obtaining professional level support, contact us here Bugs or questions?.

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. You can use pip:

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 editable/develop mode
# adding [dev] will install the development dependencies
pip install -e ./pyGAPS[dev]

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.

Release files for pygaps 4.6.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pygaps 4.6.1
File Size Uploaded
pygaps-4.6.1.tar.gz 4.4 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for pygaps 4.6.1
File Interpreter ABI Platform
pygaps-4.6.1-py3-none-any.whl Python 3 none any Details

Total release size: 4.8 MB

Release files / pygaps-4.6.1.tar.gz

Download URL pygaps-4.6.1.tar.gz
Size 4.4 MB
Tags Source
SHA-256 checksum
How to use checksums
30079276252fd5f5f03b89e2ec3af29bc01c2befc7302d1263cc72bdbb2eca2f
BLAKE2b-256 checksum
How to use checksums
e375a26da3455c473f3f25364ef6c66dc887cff943d0438aaf3298f057b1c9b6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / pygaps-4.6.1-py3-none-any.whl

Download URL pygaps-4.6.1-py3-none-any.whl
Size 343.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
322dd78af79c62668f43d3141278a22676d99339787f273af24abb1f22e22533
BLAKE2b-256 checksum
How to use checksums
7953e0ecd56998cb92242cdbea6a5fa45e0a6bce7e68454a020bccfb6a8fbec0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release history Release notifications | RSS feed

This release

4.6.1 This release

2 release files

4.5.0

2 release files

4.4.2

2 release files

4.4.1

2 release files

4.4.0

2 release files

4.3.0

2 release files

4.2.0

2 release files

4.1.2

2 release files

4.1.1

2 release files

4.1.0

2 release files

4.0.2

2 release files

4.0.1

2 release files

3.1.0

2 release files

3.0.3

2 release files

3.0.0

2 release files

2.0.2

2 release files

2.0.1

2 release files

2.0.0

2 release files

1.6.1

2 release files

1.6.0

2 release files

1.5.0

2 release files

1.4.0

2 release files

1.3.0

2 release files

1.2.0

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.0

2 release files

0.9.3

2 release files

0.9.2

2 release files

0.9.1

2 release files

0.9.0

2 release files

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page