Skip to main content

SGY file loader for seismic data — part of seismoai

Project description

seismoai-io

SGY file loader for seismic data — part of the seismoai pipeline.

Built on real data from the Forge 2D Survey (2017): 166 SGY files, 27,722 total traces.

Install

pip install seismoai-io

Usage

from seismoai_io import load_sgy, load_folder, normalize_traces

# Single file load karo
traces = load_sgy("path/to/file.sgy")
print(traces.shape)  # (167, 4001)

# Poora folder load karo
data = load_folder("path/to/folder/")
print(len(data))  # 166

# Normalize karo
normalized = normalize_traces(traces)
print(normalized.max())   # 1.0
print(normalized.min())   # -1.0

Functions

Function What it does
load_sgy(filepath) Single SGY file load karta hai → (167, 4001) numpy array
load_folder(folder_path) Poora folder load karta hai → dict of arrays
normalize_traces(traces) Har trace ko [-1, 1] range mein laata hai

Real Data Stats

Forge 2D Survey (2017) — measured from actual files:

  • Total files: 166 SGY files
  • Per file: 167 traces × 4001 samples (1ms interval)
  • Format: IEEE float, Little Endian (INOVA instrument)
  • Amplitude range: -221.50 to +758.22
  • Total traces: 27,722

Pipeline Position

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

seismoai_io-0.2.0.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

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

seismoai_io-0.2.0-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file seismoai_io-0.2.0.tar.gz.

File metadata

  • Download URL: seismoai_io-0.2.0.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.0

File hashes

Hashes for seismoai_io-0.2.0.tar.gz
Algorithm Hash digest
SHA256 c3b6f3d6597f141f52d3abc99be23f28b37b003fdac0af048df5ee46d1a62f0b
MD5 2d49a465955090bdcb74b5be5d7d6b96
BLAKE2b-256 8cfac10cd55ce55ee8bfa1eb3d57942ce84d86ae25a058a1088336be3ab7c077

See more details on using hashes here.

File details

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

File metadata

  • Download URL: seismoai_io-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.0

File hashes

Hashes for seismoai_io-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bb7d4d560ff18eea05f4220aaf82b342261572f5d7fb68211326eafe0888489c
MD5 1f5cab4f43e29e2d2b773bb02f1b0183
BLAKE2b-256 0db540f86cce15a8d8a0bb89abc20452e0a27d38e762fab6db02520c955134f6

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