obspy.segy.segy.SEGYTrace¶
- class SEGYTrace(file=None, data_encoding=4, endian=u'>', unpack_headers=False, filesize=None, headonly=False)[source]¶
Bases: future.types.newobject.newobject
Convenience class that internally handles a single SEG Y trace.
Attributes
__dict__ __doc__ unicode(string [, encoding[, errors]]) -> object __module__ str(object) -> string __weakref__ list of weak references to the object (if defined) Public Methods
next write Writes the Trace to a file like object. Private Methods
_createEmptyTrace Creates an empty trace with an empty header. _readTrace Reads the complete next header starting at the file pointer at self.file. _repr_pretty_ Special Methods
__getattr__ This method is only called if the attribute is not found in the usual places (i.e. __init__ Convenience class that internally handles a single SEG Y trace. __long__ __native__ Hook for the future.utils.native() function __nonzero__ __str__ Print some information about the trace. __unicode__