Reader for seismic tape files conforming to the SEG-D specifications.
- SEG-D 2.1 (24 and 32 bits)
from segdio import SEGD
segd = SEGD("segd_file_name.segd")
print(segd)
This will return the data from the specified channel set.
data = segd.data(CHANNEL_SET_INDEX)
This will return the trace headers from the specified channel set.
channel_trace_headers = segd.channel_set_headers[CHANNEL_SET_INDEX].trace_headers
Adapted from https://github.com/drsudow/SEG-D (Author: Mattias Südow)