Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

pgm: A Python package for free energy calculations within the phonon gas model

Calculate thermodynamic properties of matter using phonon gas model(PGM)

GitHub Actions pypi pypi

Contributors

This repository is authored and maintained by Hongjin Wang and Jingyi Zhuang.

How to cite

The associated paper is published online here.

Please cite this article as:

Hongjin Wang, Jingyi Zhuang, Zhen Zhang, Qi Zhang, Renata M. Wentzcovitch, pgm: A Python package for free energy calculations within the phonon gas model, Computer Physics Communications (2023), Volume 291, 2023, 108845, https://doi.org/10.1016/j.cpc.2023.108845.

If you are unable to access the full text of this article, please contact the authors.

Installation

Install from PyPI

You can install the package directly from PyPI:

$ pip install phonon-gas-model

Manual install

To install the pgm package, first clone the code repository using git:

$ git clone https://github.com/MineralsCloud/pgm.git

After cloning the code repository, change to the code directory using cd:

$ cd pgm

After changing to the code directory, install the required Python packages using pip:

$ pip install -r requirements.txt

Finally, install the pgm package using pip:

$ pip install .

See details in Installation of pgm.

How to use

Here we provide two examples inside the example folder. One is CaSiO₃, and one is B8-FeO.

For the case of CaSiO₃, simply run the following commands from the root path of the package:

$ cd examples/casio3
$ pgm run casio3.yaml

and for another case, B8-FeO,

run the following commands from the root path of the package:

$ cd examples/feo
$ pgm run feo.yaml

See details Command Line Tool of pgm.

Use your own example

First, you need to prepare a set of phonon calculations calculated at different temperatures.

Convert them as standard qha input files(for now use input converter in qha pkg), and put the input files like in the case of CaSiO₃ or B8-FeO

Compose your own settings.yaml file, enjoy.

Details will be provide shortly.

Documentation

See GitHub pages of pgm.

Metadata

Release files for phonon-gas-model 1.0.0a0

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

Source distribution (sdist)

Source distribution for phonon-gas-model 1.0.0a0
File Size Uploaded Provenance Actions
phonon-gas-model-1.0.0a0.tar.gz 36.3 kB Without provenance Details for phonon-gas-model-1.0.0a0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for phonon-gas-model 1.0.0a0
File Interpreter ABI Platform Actions
phonon_gas_model-1.0.0a0-py3-none-any.whl Python 3 none any Details for phonon_gas_model-1.0.0a0-py3-none-any.whl

Total release size: 75.8 kB

Release files / phonon-gas-model-1.0.0a0.tar.gz

Download URL phonon-gas-model-1.0.0a0.tar.gz
Size 36.3 kB
Tags Source
SHA-256 checksum
How to use checksums
970eae444460140f5a3eb7141079e56c50e292dfed5c259eb24224c4d3dfe40d
BLAKE2b-256 checksum
How to use checksums
857c8069c434badf75fd105723bf2a850a57429f106a5d4824f5301129b40954
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Release files / phonon_gas_model-1.0.0a0-py3-none-any.whl

Download URL phonon_gas_model-1.0.0a0-py3-none-any.whl
Size 39.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
db147832916b8ebe8421982e9651f1cc6a61bafcbde30fc95f39e0cb6254c4b4
BLAKE2b-256 checksum
How to use checksums
e89d381f1889e67526b0ee870e84c7b30c0286a55e56d99e5b912daa5f90d266
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Security for phonon-gas-model 1.0.0a0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release
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