Skip to main content

# 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-‘.

-x or –horizontal: Downsample horizontally (keep every n trace).

Note that the exported results will have the original sampling rate

-y or –vertical: Downsample vertically (keep every n sample)

Note that the exported results will have the original sampling rate

-l or –load: Specify file for saved polygons. Previously saved

polygons may be added with this argument (see keyboard shortcut ctrl+p)

-c or –cmap: Set color map. default is “seismic”.

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> Edit the polygon which the cursor currently hovers. This also applies for polygons that have been loaded from file.

<ctrl+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.

<ctrl+p> Save polygon paths to file. The polygons are saved as

“polys-“<filename>.json. The file can be used as argument to load the polygons at a later time.

<ctrl+i> Open a new figure which describes the available color and

textures that may be applied to polygons.

Metadata

Release files for labelmaker 0.3.1

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

Built distribution (wheel)

Table of built distributions (wheels) for labelmaker 0.3.1
File Interpreter ABI Platform
labelmaker-0.3.1-py3-none-any.whl Python 3 none any Details

Release files / labelmaker-0.3.1-py3-none-any.whl

Download URL labelmaker-0.3.1-py3-none-any.whl
Size 9.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
46daba06ad8ed79970866f249b76497f7f1fe38911b9c928ea878ac339bd7490
BLAKE2b-256 checksum
How to use checksums
e0a4728c41b2f53a7be6395bd235a5db0e118d6307747810358c9c4e63412c80
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.3.1 This release

1 release file

0.3.0

1 release file

0.2.1

1 release file

0.2.0

1 release file

0.1.9

1 release file

0.1.8

1 release file

0.1.7

1 release file

0.1.6

2 release files

0.1.5

1 release file

0.1.4

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1.0

1 release file

0.0.2

1 release file

0.0.1

1 release file

0.0.0

1 release file

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