Metadata-Version: 2.4
Name: geoprior1d
Version: 0.9.0
Summary: 1D geological prior generator for stochastic lithology and resistivity modeling
Author-email: Jesper Nørgaard <jesn@geus.dk>
Maintainer-email: Thomas Mejer Hansen <cultpenguin@gmail.com>
License: MIT
Project-URL: Homepage, https://github.com/yourusername/geoprior1d
Project-URL: Documentation, https://github.com/yourusername/geoprior1d/blob/main/README.md
Project-URL: Repository, https://github.com/yourusername/geoprior1d
Project-URL: Issues, https://github.com/yourusername/geoprior1d/issues
Project-URL: Changelog, https://github.com/yourusername/geoprior1d/blob/main/CHANGELOG.md
Keywords: geophysics,geology,resistivity,lithology,prior,stochastic,monte-carlo,subsurface
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Science/Research
Classifier: Topic :: Scientific/Engineering
Classifier: Topic :: Scientific/Engineering :: Physics
Classifier: Topic :: Scientific/Engineering :: GIS
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Python: >=3.8
Description-Content-Type: text/markdown
Requires-Dist: numpy>=1.20.0
Requires-Dist: h5py>=3.0.0
Requires-Dist: matplotlib>=3.3.0
Requires-Dist: pandas>=1.2.0
Requires-Dist: scipy>=1.6.0
Requires-Dist: tqdm>=4.60.0

# geoprior1d

1D geological prior generator for stochastic lithology and resistivity modeling.

## Installation

### From source
```bash
cd geoprior1d

# Basic installation
pip install .

# Development installation (editable mode)
pip install -e .

# With development tools
pip install -e ".[dev]"
```

### From PyPI (after publishing)
```bash
pip install geoprior1d
```

## Quick Start

### Command Line

```bash
geoprior1d input.xlsx -n 10000 -d 90 --plot
```

### Python API

```python
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](CLAUDE.md) for detailed format specification.

## Development

### Install development dependencies
```bash
pip install -e ".[dev]"
# or
pip install -r requirements-dev.txt
```

### Run tests
```bash
pytest
pytest --cov=geoprior1d  # With coverage
```

### Code formatting
```bash
black geoprior1d/
isort geoprior1d/
flake8 geoprior1d/
```

## Project Structure

This project uses modern Python packaging with `pyproject.toml`. See [MODERN_PACKAGING.md](MODERN_PACKAGING.md) for details.

## Documentation

- [CLAUDE.md](CLAUDE.md) - Code architecture and usage
- [MODERN_PACKAGING.md](MODERN_PACKAGING.md) - Packaging guide
- [CONVERSION_SUMMARY.md](CONVERSION_SUMMARY.md) - Conversion details

## License

MIT License
