Skip to main content

Simple labeling tool for segyio files

Project description

# Labelmaker #

The Labelmaker tool provides a method to categorize layers in seismic data. The tool uses segyio to read seismic data and Matplotlib to produce the graphical overview to the user.

The user draws an area (polygon) containing the layer at hand and selects the type.

### Command line arguments:

`-d` or `--compare`: Specify overlay results. Previously exported segy results

from the labelmaker may be added with this argument. In such case the results will overlay the inputfile and it will not be possible to create new polygons.

`-t` or `--threshold`: Set point selection sensitivity. The setting impacts the

radius when selecting points to move. Default: 0.01.

`-p` or `--prefix`: File path prefix for exported results.

Default:’Labelmade-‘.

Mouse shortcuts:

`<Left Mousebutton>` Creates a point in the plot. Further addition of points

creates a line between the points.

### Keyboard shortcuts:

`<enter>` Draws a polygon based on the points selected by the user. Also resets

the points in the line, such that the next point created by clicking the mousebutton starts on a new line.

`<escape>` Clear drawn points.

`<z>` Undo last created point.

`<d>` Removes the polygon which the cursor currently hovers. This action

will do nothing if the cursor is not hovering a polygon.

`<u>` Undo deletion of last polygon. This action will only add the latest

removed polygon.

`<e>` Export the results. The Labelmaker creates a new segy file with the

same headers, text content and dimensions as the input file. The segy file contains 0-values for all coordinates outside of any drawn polygon. Depending on the type chosen by the user, the coordinates within polygons will have values from 1 to n.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

labelmaker-0.2.0-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

Details for the file labelmaker-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for labelmaker-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6ab344593791bd1a46c88fbcb3eb115f44851f4a69a47e309c0db0a9d5030722
MD5 8ea10cf5bc8d43e26224c8de9f512ad3
BLAKE2b-256 8cd17e43040a4c1d9a2fdb9993798bff90dc39c52c7c34ad84edf88afd17c3f0

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