obspy.segy.core

SEG Y bindings to ObsPy core module.

copyright:The ObsPy Development Team (devs@obspy.org)
license:GNU Lesser General Public License, Version 3 (http://www.gnu.org/copyleft/lesser.html)

Functions

__segy_trace__str__ Monkey patch for the __str__ method of the Trace object. SEGY object do not
isSEGY Checks whether or not the given file is a SEG Y file.
isSU Checks whether or not the given file is a Seismic Unix (SU) file.
readSEGY Reads a SEG Y file and returns an ObsPy Stream object.
readSU Reads a Seismic Unix (SU) file and returns an ObsPy Stream object.
writeSEGY Writes a SEG Y file from given ObsPy Stream object.
writeSU Writes a Seismic Unix (SU) file from given ObsPy Stream object.

Classes

LazyTraceHeaderAttribDict This version of AttribDict will unpack header values only if needed.

Exceptions

SEGYCoreWritingError Raised if the writing of the Stream object fails due to some reason.
SEGYSampleIntervalError Raised if the interval between two samples is too large.