pyLogDigitizer
Turns scanned paper well logs (TIFF) into LAS files, with a local browser app to check and fix every step.
Status: 0.1.0, early-stage research software. APIs may change; check every digitized curve before use.
What it does
- Layout and calibration: finds tracks and grids, deskews, reads depth labels (OCR) and calibrates scales, including backup-scale wraparound.
- Curve tracing: a fast dynamic-programming tracer (Rust, with a Python fallback); click anchors to re-trace locally.
- Optional ML cost map: a U-Net learns from your corrected traces; batch runs send low-confidence curves to review.
- QC and export: compares with a reference LAS and writes LAS 2.0. Everything runs locally; nothing is uploaded.
Results
The guided app: a traced curve on the scan, ready to review and fix.
A digitized curve (assisted workflow) checked against the paired KGS LAS.
Held-out Kansas wells: correlation and error against the reference LAS, conventional vs ML cost map.
Notebooks: notebooks/01_conventional_vs_assisted.ipynb (one scan, step by step) and
notebooks/02_kansas_ml_train_batch.ipynb (train the cost map and batch-digitize). Example scans and LAS files are
from the Kansas Geological Survey (example_data/SOURCES.txt).
Install
git clone https://github.com/GeoLarryLai/pyLogDigitizer && cd pyLogDigitizer
pip install ".[app,fast]" # builds the Rust tracer (needs a Rust toolchain)
pip install ".[ml]" # optional: PyTorch U-Net cost map
Or conda env create -f environment.yml && conda activate pylogdigitizer, then maturin develop --release --extras app.
Without the Rust part everything still works, only slower.
Quick start
pylogdigitizer info example_data/USA_A_16_15-055-20536/4342.tif # scan size and resolution
pylogdigitizer-app . # guided app at http://127.0.0.1 (local only)
pylogdigitizer editor . --open # web editor (".[web]" extra)
The same from Python:
from pylogdigitizer import workflows as wf
R = wf.digitize_curve("example_data/USA_A_16_15-055-20536/4342.tif", track="track1", scale=(0, 150),
first_depth=1500, depth_range=(1500, 7030), backup=(150, 300))
R["depth"], R["value"], R["conf"] # then las_export.resample + write_las
backup=(150, 300) is the backup scale: when a curve runs off the edge of its track it is redrawn from the other
edge on a second scale, and the tracer unwraps it.
How to cite
If you use pyLogDigitizer, please cite it with the metadata in CITATION.cff
(GitHub's "Cite this repository" button).
Licence
Copyright (C) 2026 Larry Syu-Heng Lai. AGPL-3.0-or-later (LICENSE, NOTICE).
Metadata
Release files for pylogdigitizer 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pylogdigitizer-0.1.0.tar.gz | 216.6 kB | Without provenance | Details for pylogdigitizer-0.1.0.tar.gz |
Built distributions (wheels)
Total release size: 4.5 MB
Release files / pylogdigitizer-0.1.0.tar.gz
| Download URL | pylogdigitizer-0.1.0.tar.gz |
|---|---|
| Size | 216.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f53eb85766e767c222de86906ac9c464990e4a2e44ec0d4e2d54e078ca8c78bb
|
|
BLAKE2b-256 checksum How to use checksums |
a37dabe7440cc118ec7d557935331e5cf6ec22b2e4c6d1961d5c026d75224bbe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.5
|
Release files / pylogdigitizer-0.1.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
| Download URL | pylogdigitizer-0.1.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl |
|---|---|
| Size | 543.9 kB |
| Tags | CPython 3.13 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
9ca4b4bf2100338a06b65d36eac653bff87f55ff58099a5ff076f5a3946088ea
|
|
BLAKE2b-256 checksum How to use checksums |
e8cf14dc146943f4655bb68c014dae245d3c9bfebd569398848b8d2973679a1a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.5
|
Release files / pylogdigitizer-0.1.0-cp313-cp313-macosx_11_0_arm64.whl
| Download URL | pylogdigitizer-0.1.0-cp313-cp313-macosx_11_0_arm64.whl |
|---|---|
| Size | 528.3 kB |
| Tags | CPython 3.13 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
6f248bd301d48f11ed21f05591791e9b8f777ac50e7660ffe24f2255de01fda5
|
|
BLAKE2b-256 checksum How to use checksums |
939449fc77aea1ac12a8728056ef5762e831216776b6b15fe268d242e7246b6b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.5
|
Release files / pylogdigitizer-0.1.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
| Download URL | pylogdigitizer-0.1.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl |
|---|---|
| Size | 544.2 kB |
| Tags | CPython 3.12 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
faf6e92f06ace479a118c723501384d5cbff06ebad80de9fa5a10a7bfc33493f
|
|
BLAKE2b-256 checksum How to use checksums |
aa62b3a1a1524c8d7d0670c9a600a1084964b26857bfc6ffd8b8d82c9219d4f2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.5
|
Release files / pylogdigitizer-0.1.0-cp312-cp312-macosx_11_0_arm64.whl
| Download URL | pylogdigitizer-0.1.0-cp312-cp312-macosx_11_0_arm64.whl |
|---|---|
| Size | 528.3 kB |
| Tags | CPython 3.12 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
2a40f2e8f3100c3c0c4b8b6ae98e28cbaf37e7cb8103287744279f7ec08d9673
|
|
BLAKE2b-256 checksum How to use checksums |
4c7b7121d9dc9e7866fbb21c38e7c58f47bcd68bab643a8a67ffbaa80d5aa390
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.5
|
Release files / pylogdigitizer-0.1.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
| Download URL | pylogdigitizer-0.1.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl |
|---|---|
| Size | 543.3 kB |
| Tags | CPython 3.11 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
8a212920158f05f37e72d6282ed2a41081f14d849cb9fb96e305412dd2b74991
|
|
BLAKE2b-256 checksum How to use checksums |
b56c063d386a068ad025c5e1a7df0994255614923afc41e40e835d020797731a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.5
|
Release files / pylogdigitizer-0.1.0-cp311-cp311-macosx_11_0_arm64.whl
| Download URL | pylogdigitizer-0.1.0-cp311-cp311-macosx_11_0_arm64.whl |
|---|---|
| Size | 528.3 kB |
| Tags | CPython 3.11 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
c551642cf9d41ccbc980a7077d7e352fb73356b3cc0b6d27e0b0b4f84af48d70
|
|
BLAKE2b-256 checksum How to use checksums |
8032a5dc096c987d24f839ae25f74455ab30992ca3457448503a3e3dd1e73c66
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.5
|
Release files / pylogdigitizer-0.1.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
| Download URL | pylogdigitizer-0.1.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl |
|---|---|
| Size | 543.5 kB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
7159202a00820ec04778270b48998f1c7097e02c6e7ecd4b0dcf8b5f899b8100
|
|
BLAKE2b-256 checksum How to use checksums |
de2081a2761b3578511aaa8fa2152a65cfcc1a404a762a63cf16c405be013f29
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.5
|
Release files / pylogdigitizer-0.1.0-cp310-cp310-macosx_11_0_arm64.whl
| Download URL | pylogdigitizer-0.1.0-cp310-cp310-macosx_11_0_arm64.whl |
|---|---|
| Size | 528.5 kB |
| Tags | CPython 3.10 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
3e20a44cca852f50f18686353e8d49b5f43db0c4b3050ac9822b89c16b84e0db
|
|
BLAKE2b-256 checksum How to use checksums |
0db2902dda5bb5430c92c1d6c57fa38c476e7b6e01c24e86a348d6e226756034
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.5
|
Security for pylogdigitizer 0.1.0
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.