Skip to main content

A framework for processing adsorption data for porous materials

Project description

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

Features

  • Advanced adsorption data import and manipulation

  • Routine analysis such as BET/Langmuir surface area, t-plot, alpha-s, 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 DFT kernels

  • Isotherm model fitting (Henry, Langmuir, DS/TS Langmuir, etc..)

  • IAST calculations for binary and multicomponent adsorption

  • Isosteric enthalpy of adsorption calculations

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

  • An sqlite database backend for storing and retrieving data

  • Simple methods for isotherm graphing and comparison

Citing

A peer-reviewed paper regarding pyGAPS is currently in the process of being published. In the meantime, consider citing the preprint if you use the program in your work.

Paul Iacomi, Philip L. Llewellyn, 2019. pyGAPS: A Python-Based Framework for Adsorption Isotherm Processing and Material Characterisation. https://doi.org/10.26434/chemrxiv.7970402.v1

Documentation

For more info, as well as a complete manual and reference visit:

https://pygaps.readthedocs.io/

Most of the examples in the documentation are actually in the form of Jupyter Notebooks which are turned into webpages with nbsphinx. You can find them for download in:

https://github.com/pauliacomi/pyGAPS/tree/master/docs/examples

Installation

The easiest way to install pyGAPS is from the command line. Make sure that you have numpy, scipy, pandas and matplotlib, as well as CoolProp already installed.

pip install pygaps

Anaconda/Conda is your best bet since it manages environments for you. First create a new environment and use conda to install the dependencies (or start with one that already has a full instalation). Then use pip inside your environment.

conda create -n py3 python=3 numpy scipy pandas matplotlib CoolProp
conda activate py3
pip install pygaps

Alternatively, to install the development branch, clone the repository from Github. Then install the package with pip or setuptools, either in regular or developer mode.

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

// then install

pip install ./              # pip
python setup.py install     # setuptools

// or developer mode

pip install -e ./           # pip
python setup.py develop     # setuptools

Development

If you have all the python environments needed to run the entire test suite, use tox. To run the all tests run:

tox

Note, to combine the coverage data from all the tox environments run:

Windows

set PYTEST_ADDOPTS=--cov-append
tox

Other

PYTEST_ADDOPTS=--cov-append tox

For testing only with the environment you are currently on, run instead

python setup.py test

# or run pytest

pytest

Alternatively, you can depend on TravisCI for testing, which will be slower overall but should have all the environments required.

Questions?

I’m more than happy to answer any questions. Shoot an email to mail( at )pauliacomi.com or find me on some social media.

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.

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-1.6.1.tar.gz (3.8 MB view details)

Uploaded Source

Built Distribution

pygaps-1.6.1-py2.py3-none-any.whl (240.6 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: pygaps-1.6.1.tar.gz
  • Upload date:
  • Size: 3.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.1

File hashes

Hashes for pygaps-1.6.1.tar.gz
Algorithm Hash digest
SHA256 d18e5ee173237e719cc064ad0eab9c267769bcaa8f26e6c56606ed495effbecd
MD5 d6c43043c55bfe85643e63d4706dc52b
BLAKE2b-256 df3916f523c47023aab653ca28c09277fd0585d453855df75d8cb877bb9b6b2b

See more details on using hashes here.

Provenance

File details

Details for the file pygaps-1.6.1-py2.py3-none-any.whl.

File metadata

  • Download URL: pygaps-1.6.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 240.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.1

File hashes

Hashes for pygaps-1.6.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 739efdf5d942ac6377ffb72a7fa4d401906db3a6bf32b65081ad8fa2a3ffd954
MD5 0ece7ad92f481e6ee2cc3b00f39c3779
BLAKE2b-256 211325ba80204336c63be26639cbed59b2d3c10a9971c67b5924c37053299536

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