1D geological prior generator for stochastic lithology and resistivity modeling
Project description
geoprior1d
1D geological prior generator for stochastic lithology and resistivity modeling.
Installation
From source
cd geoprior1d
# Basic installation
pip install .
# Development installation (editable mode)
pip install -e .
# With development tools
pip install -e ".[dev]"
From PyPI (after publishing)
pip install geoprior1d
Quick Start
Command Line
geoprior1d input.xlsx -n 10000 -d 90 --plot
Python API
from geoprior1d import generate_prior
# Generate priors
filename, flags = generate_prior(
input_data="daugaard_matlab.xlsx",
Nreals=10000,
dmax=90,
dz=1,
doPlot=1
)
print(f"Output saved to: {filename}")
Input File Format
See CLAUDE.md for detailed format specification.
Development
Install development dependencies
pip install -e ".[dev]"
# or
pip install -r requirements-dev.txt
Run tests
pytest
pytest --cov=geoprior1d # With coverage
Code formatting
black geoprior1d/
isort geoprior1d/
flake8 geoprior1d/
Project Structure
This project uses modern Python packaging with pyproject.toml. See MODERN_PACKAGING.md for details.
Documentation
- CLAUDE.md - Code architecture and usage
- MODERN_PACKAGING.md - Packaging guide
- CONVERSION_SUMMARY.md - Conversion details
License
MIT License
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 geoprior1d-0.9.0.tar.gz.
File metadata
- Download URL: geoprior1d-0.9.0.tar.gz
- Upload date:
- Size: 11.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
539c280cd9fdd111833a17ef720ee2f1557f5289a1bd6fcbe56f6b42a74bb037
|
|
| MD5 |
e503b06d9a73cc0c3af0e5cd17e819ed
|
|
| BLAKE2b-256 |
84385dd819653149e90c9e37fc32201243f713862113f08cb4444c46348f1fcc
|
File details
Details for the file geoprior1d-0.9.0-py3-none-any.whl.
File metadata
- Download URL: geoprior1d-0.9.0-py3-none-any.whl
- Upload date:
- Size: 13.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
14da381f5ffba0703f9821a94bc41455f584cdc41ed5297d231269c3fd16e2cc
|
|
| MD5 |
c9600213c555be6c4f5df6dfb4e6900a
|
|
| BLAKE2b-256 |
501ded103fdae3d1f6a62538ff2925f49ba4e856d7caf5119cc3f3b2ce13f7b1
|