Skip to main content

a matplotlib based tool for visualizing collections of geological logs

Project description

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()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sawing_logs-0.0.1.tar.gz (1.2 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sawing_logs-0.0.1-py3-none-any.whl (13.5 kB view details)

Uploaded Python 3

File details

Details for the file sawing_logs-0.0.1.tar.gz.

File metadata

  • Download URL: sawing_logs-0.0.1.tar.gz
  • Upload date:
  • Size: 1.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for sawing_logs-0.0.1.tar.gz
Algorithm Hash digest
SHA256 d9b85cf22745add4ca6c2ab4a3f743e58cf7d345430bc39c4a66d28ca62fa09d
MD5 5b981e7015dc55f43fbdf97ff20332aa
BLAKE2b-256 033949e1cd5047cef9241552c81b7d4d835dfb68e21883943e9da9a7f9a56883

See more details on using hashes here.

File details

Details for the file sawing_logs-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: sawing_logs-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 13.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for sawing_logs-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e9f20c66df7d03da0d865e1eb9b39e03fb26fed360b73a1c092510387d1d58fe
MD5 e43b9b87ae6bbdd97dc7546172a6d9a9
BLAKE2b-256 b02ce2e56992a84256aaf55956ed0fe95353526511353dfe086c68557ed7c488

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page