Utility for calculating elastic properties of rocks and fluids.
Project description
open_petro_elastic
A Python library for petro-elastic modelling. It contains a Material class for representing rocks and fluids, as well as various rock physics models and algorithms such as Hashin-Shtrikman bounds and Gassmann fluid substitution.
Installation
pip install open_petro_elastic
Developers and contributors can download the repository and do pip install ".[dev,test,docs]" to install the package with all its dependencies for development, testing, and building the docs.
Usage
The tool can be used as a library, or from the command line using YAML configuration files. For example, see the tutorial config file.
Generally, the open_petro_elastic.material module is used for interfacing with open_petro_elastic as a Python library:
>>> from open_petro_elastic.material import Material
>>> from open_petro_elastic.material.sandstone import hertz_mindlin
>>> mineral = Material(bulk_modulus=1e9, shear_modulus=1e9, density=1000)
>>> sand = hertz_mindlin(mineral, porosity=0.4, pressure=1e6)
>>> print(sand.density)
600.0
To get help on the command line interface:
open_petro_elastic --help
See the docs for more usage instructions.
Run tests
Developers and contributors should install everything test_requirements.txt. Then tests can be run with:
pytest
Developers should also intall everything in doc_requirements.txt and read the Code of Conduct.
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 open_petro_elastic-1.4.2.tar.gz.
File metadata
- Download URL: open_petro_elastic-1.4.2.tar.gz
- Upload date:
- Size: 17.9 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ad20ec52be0aff35e9b58b2c869a528a5d1e8835542923cb06915c49a12f30dd
|
|
| MD5 |
71b3a994e3635530d7b324ab2f155a30
|
|
| BLAKE2b-256 |
a87a8723dd9123ebac0e01aa4fdff389d2c81de01ab8e82f8aeb3d7a8d10349c
|
Provenance
The following attestation bundles were made for open_petro_elastic-1.4.2.tar.gz:
Publisher:
python-publish.yml on equinor/open_petro_elastic
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
open_petro_elastic-1.4.2.tar.gz -
Subject digest:
ad20ec52be0aff35e9b58b2c869a528a5d1e8835542923cb06915c49a12f30dd - Sigstore transparency entry: 757539226
- Sigstore integration time:
-
Permalink:
equinor/open_petro_elastic@cc303ea16fcb852b4837a4247a06cf6b8f056d1a -
Branch / Tag:
refs/tags/v1.4.2 - Owner: https://github.com/equinor
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@cc303ea16fcb852b4837a4247a06cf6b8f056d1a -
Trigger Event:
release
-
Statement type:
File details
Details for the file open_petro_elastic-1.4.2-py3-none-any.whl.
File metadata
- Download URL: open_petro_elastic-1.4.2-py3-none-any.whl
- Upload date:
- Size: 17.9 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2d91d1b2709799f6e18ba1f15f660279f16478eecc42b947acf7e690de9a24e2
|
|
| MD5 |
c67f09d34434af1457188138a14f9320
|
|
| BLAKE2b-256 |
7c3b516252b322da62bc9c056429295c182899afac7aa84fbaa0acf6d8fe1223
|
Provenance
The following attestation bundles were made for open_petro_elastic-1.4.2-py3-none-any.whl:
Publisher:
python-publish.yml on equinor/open_petro_elastic
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
open_petro_elastic-1.4.2-py3-none-any.whl -
Subject digest:
2d91d1b2709799f6e18ba1f15f660279f16478eecc42b947acf7e690de9a24e2 - Sigstore transparency entry: 757539232
- Sigstore integration time:
-
Permalink:
equinor/open_petro_elastic@cc303ea16fcb852b4837a4247a06cf6b8f056d1a -
Branch / Tag:
refs/tags/v1.4.2 - Owner: https://github.com/equinor
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@cc303ea16fcb852b4837a4247a06cf6b8f056d1a -
Trigger Event:
release
-
Statement type: