pygaps

A framework for processing adsorption data and isotherm fitting

https://github.com/pauliacomi/pygaps

Science Score: 67.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 2 DOI reference(s) in README
  • Academic publication links
  • Committers with academic emails
    2 of 7 committers (28.6%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (14.4%) to scientific vocabulary

Keywords

adsorption data-processing materials-science
Last synced: 4 months ago · JSON representation ·

Repository

A framework for processing adsorption data and isotherm fitting

Basic Info
  • Host: GitHub
  • Owner: pauliacomi
  • License: mit
  • Language: Python
  • Default Branch: master
  • Homepage:
  • Size: 26.4 MB
Statistics
  • Stars: 74
  • Watchers: 5
  • Forks: 26
  • Open Issues: 17
  • Releases: 27
Topics
adsorption data-processing materials-science
Created over 8 years ago · Last pushed 10 months ago
Metadata Files
Readme Changelog Contributing License Citation Authors

README.rst

|
|

.. image:: https://raw.githubusercontent.com/pauliacomi/pyGAPS/master/docs/logo.svg
   :width: 200px
   :align: center

========
Overview
========

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

.. start-badges

.. list-table::
    :widths: 10 90
    :stub-columns: 1

    * - status
      - | |status| |commits-since|
    * - docs
      - | |docs|
    * - license
      - | |license|
    * - tests
      - | |GHA| |codecov|
        | |requires|
    * - package
      - | |version| |wheel|
        | |supported-versions| |supported-implementations|

.. |status| image:: https://www.repostatus.org/badges/latest/active.svg
    :target: https://www.repostatus.org/#active
    :alt: Project Status: Active – The project has reached a stable, usable state and is being actively developed.

.. |commits-since| image:: https://img.shields.io/github/commits-since/pauliacomi/pygaps/latest/develop
    :alt: Commits since latest release
    :target: https://github.com/pauliacomi/pygaps/compare/master...develop

.. |docs| image:: https://readthedocs.org/projects/pygaps/badge/?style=flat
    :target: https://readthedocs.org/projects/pygaps
    :alt: Documentation Status

.. |license| image:: https://img.shields.io/badge/License-MIT-yellow.svg
    :target: https://opensource.org/licenses/MIT
    :alt: Project License

.. |GHA| image:: https://github.com/pauliacomi/pyGAPS/workflows/CI/badge.svg
    :alt: GHA-CI Build Status
    :target: https://github.com/pauliacomi/pyGAPS/actions

.. |requires| image:: https://requires.io/github/pauliacomi/pyGAPS/requirements.svg?branch=master
    :alt: Requirements Status
    :target: https://requires.io/github/pauliacomi/pyGAPS/requirements/?branch=master

.. |codecov| image:: https://img.shields.io/codecov/c/github/pauliacomi/pygaps.svg
    :alt: Coverage Status
    :target: https://codecov.io/gh/pauliacomi/pyGAPS

.. |version| image:: https://img.shields.io/pypi/v/pygaps.svg
    :alt: PyPI Package latest release
    :target: https://pypi.org/project/pygaps

.. |wheel| image:: https://img.shields.io/pypi/wheel/pygaps.svg
    :alt: PyPI Wheel
    :target: https://pypi.org/project/pygaps

.. |supported-versions| image:: https://img.shields.io/pypi/pyversions/pygaps.svg
    :alt: Supported versions
    :target: https://pypi.org/project/pygaps

.. |supported-implementations| image:: https://img.shields.io/pypi/implementation/pygaps.svg
    :alt: Supported implementations
    :target: https://pypi.org/project/pygaps


.. end-badges


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.

.. image:: https://raw.githubusercontent.com/pauliacomi/pyGAPS/master/docs/figures/SMS-Logo.jpg
   :width: 200px
   :align: left

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``:

.. code:: bash

    pip install pygaps

or `Anaconda/Conda `__:

.. code:: bash

    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.

.. code:: bash

    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 `__.

Owner

  • Name: Paul Iacomi
  • Login: pauliacomi
  • Kind: user
  • Location: Montpellier
  • Company: ICGM

In the lab 🧪

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this software, please cite the published paper as below."
authors:
- family-names: "Iacomi"
  given-names: "Paul"
  orcid: "https://orcid.org/0000-0001-5477-1503"
title: "pyGAPS"
url: "https://github.com/github/pyGAPS"
preferred-citation:
  type: article
  authors:
    - family-names: "Iacomi"
      given-names: "Paul"
      orcid: "https://orcid.org/0000-0001-5477-1503"
    - family-names: "Llewellyn"
      given-names: "Philip L"
  doi: "10.1007/s10450-019-00168-5"
  journal: "Adsorption"
  month: 9
  start: 1533 # First page number
  end: 1542 # Last page number
  title: "pyGAPS: a Python-based framework for adsorption isotherm processing and material characterisation"
  issue: 8
  volume: 25
  year: 2019

GitHub Events

Total
  • Create event: 5
  • Release event: 1
  • Issues event: 4
  • Watch event: 10
  • Delete event: 2
  • Member event: 1
  • Issue comment event: 4
  • Push event: 15
  • Pull request event: 5
  • Fork event: 2
Last Year
  • Create event: 5
  • Release event: 1
  • Issues event: 4
  • Watch event: 10
  • Delete event: 2
  • Member event: 1
  • Issue comment event: 4
  • Push event: 15
  • Pull request event: 5
  • Fork event: 2

Committers

Last synced: about 2 years ago

All Time
  • Total Commits: 1,546
  • Total Committers: 7
  • Avg Commits per committer: 220.857
  • Development Distribution Score (DDS): 0.336
Past Year
  • Commits: 41
  • Committers: 4
  • Avg Commits per committer: 10.25
  • Development Distribution Score (DDS): 0.195
Top Committers
Name Email Commits
Paul Iacomi p****i 1,027
Paul Iacomi i****l@g****m 497
sblanky p****l@n****k 12
L. Scott Blankenship l****1@n****k 6
L. Scott Blankenship 6****y 2
Jack Evans j****l@g****m 1
L. Scott Blankenship p****l@l****n 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 4 months ago

All Time
  • Total issues: 52
  • Total pull requests: 13
  • Average time to close issues: 4 months
  • Average time to close pull requests: 4 months
  • Total issue authors: 20
  • Total pull request authors: 5
  • Average comments per issue: 2.06
  • Average comments per pull request: 2.0
  • Merged pull requests: 8
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 5
  • Pull requests: 6
  • Average time to close issues: less than a minute
  • Average time to close pull requests: 15 days
  • Issue authors: 3
  • Pull request authors: 2
  • Average comments per issue: 0.0
  • Average comments per pull request: 0.0
  • Merged pull requests: 2
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • pauliacomi (17)
  • sblanky (7)
  • ERIC94067 (4)
  • wilson0806 (4)
  • fxcoudert (3)
  • a11enh (1)
  • k3ro (1)
  • yagzo (1)
  • Kitkim160 (1)
  • celalutku (1)
  • mh2537 (1)
  • Loturest (1)
  • hesmalek (1)
  • Andy6431 (1)
  • xiaogongkui (1)
Pull Request Authors
  • sblanky (5)
  • fxcoudert (4)
  • pauliacomi (2)
  • MyonicS (2)
  • jackevansadl (1)
Top Labels
Issue Labels
bug (20) enhancement (19) core functionality (2) maintenance (1)
Pull Request Labels

Packages

  • Total packages: 2
  • Total downloads:
    • pypi 387 last-month
  • Total dependent packages: 0
    (may contain duplicates)
  • Total dependent repositories: 1
    (may contain duplicates)
  • Total versions: 41
  • Total maintainers: 1
pypi.org: pygaps

Framework for processing gas adsorption isotherms

  • Homepage: https://github.com/pauliacomi/pygaps
  • Documentation: https://pygaps.readthedocs.io
  • License: MIT License Copyright (c) 2022, Paul Iacomi Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  • Latest release: 4.6.1
    published 10 months ago
  • Versions: 32
  • Dependent Packages: 0
  • Dependent Repositories: 1
  • Downloads: 387 Last month
Rankings
Forks count: 8.5%
Stargazers count: 9.5%
Dependent packages count: 10.1%
Average: 13.2%
Downloads: 16.0%
Dependent repos count: 21.6%
Maintainers (1)
Last synced: 4 months ago
conda-forge.org: pygaps
  • Versions: 9
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 34.0%
Forks count: 34.7%
Stargazers count: 39.4%
Average: 39.8%
Dependent packages count: 51.2%
Last synced: 4 months ago

Dependencies

.github/workflows/CI.yaml actions
  • actions/checkout v2 composite
  • actions/setup-python v2 composite
  • conda-incubator/setup-miniconda v2 composite
  • pypa/gh-action-pypi-publish release/v1 composite
  • softprops/action-gh-release v1 composite