segyio is a library for simple and fast reading and writing of SEG-Y files, a standard format for seismic data. Version 1.9.14 requires Python >=3.10. It is widely used in geoscience for efficient seismic data I/O. Release cadence is irregular.
pip install segyioVerified import paths — ran on the pinned version, not inferred.
Open a SEG-Y file and display the number of traces.
Always use integer trace indices or slice objects. For example: header = segyfile.header[0].
Use segyio.open('file.sgy', 'r+') for read/write on existing files or segyio.create('new.sgy') for new files.Use segyio.open() and segyio.create() directly instead of segyio.tools.
Update code to use the main segyio functions: segyio.open() instead of segyio.tools.wrap().
Use segyfile.tracecount instead of segyfile.trace_count.
No dependency data recorded yet.