Skip to main content

Documentation StatusPyPI versionDownloads

rockphypy

If you have installed rockphypy before, upgrade to the latest version with:

pip install -U rockphypy

Release Note rockphypy 0.0.4

Bug fixes

  • import rockphypy failed with matplotlib 3.11.0 (colormap cmap_cem in QI)

Testing

  • Import tests for all modules, and weekly automatic tests on GitHub with the newest dependency versions

Release Note rockphypy 0.0.3

Bug fixes

  • AVO.zoeppritz: wrong results for nonzero angles (degree/radian bug and wrong medium in one term)
  • EM.PQ, EM.PQ_vectorize: wrong P and Q for prolate inclusions (alpha > 1)
  • EM.PQ_vectorize: no longer changes the input alpha array
  • EM.hudson, hudson_rand, hudson_ortho, hudson_cone: wrong M term for cracks filled with a solid
  • EM.hudson_rand: shear modulus correction was 15 times too large
  • EM.DEM, EM.Berryman_DEM: corrected parameter order and inclusion shear modulus
  • Anisotropy.Bond_trans: missing factor 2 in the Bond matrix
  • Empirical.han: clay coefficient for Vp is 2.18 (Han et al., 1986, 40 MPa)
  • Fluid.White_Dutta_Ode: numerically stable at very low and very high frequencies
  • QI.estimate_cem: works with pandas 3

Compatibility

  • Works with NumPy 2: requires KDE-diffusion >= 1.0.5 NumPy 2.0: older versions of rockphypy could fail to import with NumPy ≥ 2.0 because of the dependency KDE-diffusion 1.0.4. From rockphypy 0.0.3 we require KDE-diffusion ≥ 1.0.5, which works with NumPy 2.

Documentation

  • New documentation theme

About

rockphypy is a Python-based open-source library dedicated to rock physics modeling. It caters to individuals interested in rock physics and empowers them to apply rock physics tools in their work and research effectively.

Built upon the foundations of Stanford SRB tools, rockphypy has successfully migrated and optimized a wide range of rock physics models from Stanford SRB Matlab tools to Python. Additionally, it extends the functionality by introducing new functions and practical workflows. Check the documentation and tutorials here.

Installation

rockphypy is available through [PyPI] and may be installed using pip:

pip install rockphypy

Citation

Want to cite rockphypy in your work?

Bibtex:

@article{YU2023101567,
title = {rockphypy: An extensive Python library for rock physics modeling},
journal = {SoftwareX},
volume = {24},
pages = {101567},
year = {2023},
issn = {2352-7110},
doi = {https://doi.org/10.1016/j.softx.2023.101567},
url = {https://www.sciencedirect.com/science/article/pii/S2352711023002637},
author = {Jiaxin Yu and Tapan Mukerji and Per Avseth}}

Timeline of development

2timeline

Metadata

Release files for rockphypy 0.0.4

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

Source distribution (sdist)

Source distribution for rockphypy 0.0.4
File Size Uploaded Provenance Actions
rockphypy-0.0.4.tar.gz 48.2 kB Without provenance Details for rockphypy-0.0.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for rockphypy 0.0.4
File Interpreter ABI Platform Actions
rockphypy-0.0.4-py3-none-any.whl Python 3 none any Details for rockphypy-0.0.4-py3-none-any.whl

Total release size: 98.8 kB

Release files / rockphypy-0.0.4.tar.gz

Download URL rockphypy-0.0.4.tar.gz
Size 48.2 kB
Tags Source
SHA-256 checksum
How to use checksums
5991faae644dc903e264458308747e2efe824875cf6bb9a4ce73b1d1898eaed6
BLAKE2b-256 checksum
How to use checksums
c62794ca6722aca499ea9110a103e17d58b00d50eb3fa2029e980627ea420120
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.0

Release files / rockphypy-0.0.4-py3-none-any.whl

Download URL rockphypy-0.0.4-py3-none-any.whl
Size 50.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
393aa3f574bb9b09812ecb07d046d2d3d791d821a4fbef9c9e374534275edf90
BLAKE2b-256 checksum
How to use checksums
0081d5b39a9d85f11c520191ca28d189d83b9bd0abac78b0763eaca8300fa4a7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.0

Security for rockphypy 0.0.4

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.

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