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 Provenance Actions
sawing_logs-0.0.1.tar.gz 1.2 MB Without provenance Details for sawing_logs-0.0.1.tar.gz

Built distribution (wheel)

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

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

Security for sawing-logs 0.0.1

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.

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files No provenance

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