Skip to main content

Sawing Logs

Sawing Logs is a flexible tool for Plotting LOGs.

Setup

To set up sawing logs, run the following in the command line:

pip install sawing-logs

Usage

An example script is provided (create_a_borehole.py). Simply change the directory and file prefix to match. A minimal example is provided below for plotting Dart data.

from sawing_logs import Log, Borehole
import matplotlib.pyplot as plt
import numpy as np

geo_log = Log.geology(['sand', 'clay', 'silt', 'sand'], [0, 5, 15, 25], [5, 15, 25, 40], color='terrain')
res_log = Log.standard(np.random.randn(31), np.linspace(0., 40, 31)[1:], 'rho', units='Ωm')

geo_log.plot()
res_log.plot()

plt.show()

Then if you want to make a collection of logs (a borehole), you can like this:

from sawing_logs import Log, Borehole
import matplotlib.pyplot as plt
import numpy as np

lg1 = Log.geology(['sand', 'clay', 'silt', 'sand'], [0, 5, 15, 25], [5, 15, 25, 40], color='terrain')
lg2 = Log.standard(np.random.randn(31), np.linspace(0., 40, 31)[1:], 'rho', units='Ωm')

bh = Borehole([lg1, lg2])
bh.plot()
plt.show()

Metadata

Release files for sawing-logs 0.0.1

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

Source distribution (sdist)

Source distribution for sawing-logs 0.0.1
File Size Uploaded
sawing_logs-0.0.1.tar.gz 1.2 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for sawing-logs 0.0.1
File Interpreter ABI Platform
sawing_logs-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 1.2 MB

Release files / sawing_logs-0.0.1.tar.gz

Download URL sawing_logs-0.0.1.tar.gz
Size 1.2 MB
Tags Source
SHA-256 checksum
How to use checksums
d9b85cf22745add4ca6c2ab4a3f743e58cf7d345430bc39c4a66d28ca62fa09d
BLAKE2b-256 checksum
How to use checksums
033949e1cd5047cef9241552c81b7d4d835dfb68e21883943e9da9a7f9a56883
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.0

Release files / sawing_logs-0.0.1-py3-none-any.whl

Download URL sawing_logs-0.0.1-py3-none-any.whl
Size 13.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e9f20c66df7d03da0d865e1eb9b39e03fb26fed360b73a1c092510387d1d58fe
BLAKE2b-256 checksum
How to use checksums
b02ce2e56992a84256aaf55956ed0fe95353526511353dfe086c68557ed7c488
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.0

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

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