SegyScan
SegyScan(fh, records, fs=None)
Representation of SEGY data grouped by shot.
Parameters
fh |
FileHeader |
File header shared by all scanned files. |
required |
records |
list of ShotRecord |
Collection of shot metadata describing trace segments. |
required |
Attributes
counts |
Total number of traces for each shot. |
data |
Load data for all shots on first access. |
offsets |
First trace byte offset for every shot. |
paths |
List of file paths corresponding to each shot. |
shots |
Source coordinates for each shot including depth. |
Methods
read_data |
Load all traces for a single shot. |
read_headers |
Read only the headers for a single shot. |
summary |
Header summaries for the idx -th shot. |
read_data
read_data(idx, keys=None)
Load all traces for a single shot.
Parameters
idx |
int |
Index of the shot to read. |
required |
keys |
Iterable[str] |
Additional header fields to load with each trace. |
None |
Returns
|
SeisBlock |
In-memory representation of the selected shot. |
summary
Header summaries for the idx
-th shot.
Back to top