Utilities to perform stat mech analysis of pair potentials
Project description
analphipy
Utilities to perform metric analysis on fluid pair potentials. The main features
of analphipy as follows:
Overview
analphipy is a python package to calculate metrics for classical models for
pair potentials. It provides a simple and extendable api for pair potentials
creation. Several routines to calculate metrics are included in the package.
Features
- Pre-defined spherically symmetric potentials
- Simple interface to extended to user defined pair potentials
- Routines to calculate Noro-Frenkel effective parameters.
- Routines to calculate Jensen-Shannon divergence
Status
This package is actively used by the author. Please feel free to create a pull request for wanted features and suggestions!
Example usage
# Create a Lennard-Jones potential
>>> import analphipy
>>> p = analphipy.potential.LennardJones(sig=1.0, eps=1.0)
# Get a Noro-Frenekl analysis object
>>> n = p.to_nf()
# Get effective parameters at inverse temperature beta
>>> print(n.sig(beta=1.0))
1.01560...
>>> print(n.eps(beta=1.0))
-1.0
>>> print(n.lam(beta=1.0))
1.44097...
Installation
Use one of the following to install analphipy
pip install analphipy
or
conda install -c conda-forge analphipy
Documentation
See the documentation for a look at analphipy in action.
What's new?
See changelog.
License
This is free software. See LICENSE.
Contact
The author can be reached at wpk@nist.gov.
Credits
This package was created using Cookiecutter with the usnistgov/cookiecutter-nist-python template.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file analphipy-0.4.2.dev15.tar.gz.
File metadata
- Download URL: analphipy-0.4.2.dev15.tar.gz
- Upload date:
- Size: 49.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
50cd053db3f51be57b979763a38268ad67fd65da7cf5bdfd185f0424d51ea480
|
|
| MD5 |
cea22b72461661d6ffc989b52cb92048
|
|
| BLAKE2b-256 |
855e5a6c1f7bdfc4420d344a7f620a2e0756b3a622b8dbb285214ab091f616e7
|
Provenance
The following attestation bundles were made for analphipy-0.4.2.dev15.tar.gz:
Publisher:
cd.yml on usnistgov/analphipy
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
analphipy-0.4.2.dev15.tar.gz -
Subject digest:
50cd053db3f51be57b979763a38268ad67fd65da7cf5bdfd185f0424d51ea480 - Sigstore transparency entry: 974787093
- Sigstore integration time:
-
Permalink:
usnistgov/analphipy@845c5c97c1534d11a8bf1ee762bea00affe9b021 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/usnistgov
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
cd.yml@845c5c97c1534d11a8bf1ee762bea00affe9b021 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file analphipy-0.4.2.dev15-py3-none-any.whl.
File metadata
- Download URL: analphipy-0.4.2.dev15-py3-none-any.whl
- Upload date:
- Size: 26.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
241c91ea1a9d88f99ad227706c1a75df0dd71f761146001a6d5d0773aad01ff0
|
|
| MD5 |
fc49646ec065269e30c7ec33e4ef91fa
|
|
| BLAKE2b-256 |
b9a7759af6d2b82f6714bfb2f980109db3216069f0c336efffb9c0ab36b956c8
|
Provenance
The following attestation bundles were made for analphipy-0.4.2.dev15-py3-none-any.whl:
Publisher:
cd.yml on usnistgov/analphipy
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
analphipy-0.4.2.dev15-py3-none-any.whl -
Subject digest:
241c91ea1a9d88f99ad227706c1a75df0dd71f761146001a6d5d0773aad01ff0 - Sigstore transparency entry: 974787097
- Sigstore integration time:
-
Permalink:
usnistgov/analphipy@845c5c97c1534d11a8bf1ee762bea00affe9b021 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/usnistgov
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
cd.yml@845c5c97c1534d11a8bf1ee762bea00affe9b021 -
Trigger Event:
workflow_dispatch
-
Statement type: