Skip to main content

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.

Build and test PyPI version PyPI versions PyPI license

Installation

pip install open_petro_elastic

Developers and contributors can download the repository and do uv sync --all-groups 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

Run tests

Tests can be run with:

uv run pytest

Developers should also read the Code of Conduct.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

open_petro_elastic-1.4.7.tar.gz (18.0 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

open_petro_elastic-1.4.7-py3-none-any.whl (17.9 MB view details)

Uploaded Python 3

File details

Details for the file open_petro_elastic-1.4.7.tar.gz.

File metadata

  • Download URL: open_petro_elastic-1.4.7.tar.gz
  • Upload date:
  • Size: 18.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for open_petro_elastic-1.4.7.tar.gz
Algorithm Hash digest
SHA256 530915fa12768f29311b511ad3f7288411775a4b1cbd6e28ecbcbfa0faf2b15e
MD5 cf9cb68b98a5b2a195b472d163a73625
BLAKE2b-256 6a3fb010d006fb3c3abbbd8acbd479383c961f43b173b1fe1756075fcebbb412

See more details on using hashes here.

Provenance

The following attestation bundles were made for open_petro_elastic-1.4.7.tar.gz:

Publisher: python-publish.yml on equinor/open_petro_elastic

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file open_petro_elastic-1.4.7-py3-none-any.whl.

File metadata

File hashes

Hashes for open_petro_elastic-1.4.7-py3-none-any.whl
Algorithm Hash digest
SHA256 408c1a4a8fece40d670d5d11eee5b0eb6df4578fc55fc4758bc78e2c48203852
MD5 134f7fd32111e535f5d88588621fe4e9
BLAKE2b-256 dc740c5896409de3508c1894f1e2ebf62bec3bf39d0624c4cef34dde67b80271

See more details on using hashes here.

Provenance

The following attestation bundles were made for open_petro_elastic-1.4.7-py3-none-any.whl:

Publisher: python-publish.yml on equinor/open_petro_elastic

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

2.0.0

2 files

1.4.8

2 files

This release

1.4.7 This release

2 files

1.4.6

2 files

1.4.5

2 files

1.4.4

2 files

1.4.3

2 files

1.4.2

2 files

1.4.1

2 files

1.4.0

2 files

1.3.0

2 files

1.2.0

2 files

1.1.0

2 files

1.0.0

2 files

0.0.11

2 files

0.0.10

2 files

0.0.9

2 files

0.0.8

2 files

0.0.7

2 files

0.0.6

1 file

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