obspy.segy.segy.SEGYFile¶
- class SEGYFile(file=None, endian=None, textual_header_encoding=None, unpack_headers=False, headonly=False)[source]¶
Bases: future.types.newobject.newobject
Class that internally handles SEG Y files.
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 Write a SEG Y file to file which is either a file like object with a Private Methods
_autodetectEndianness Tries to automatically determine the endianness of the file at hand. _createEmptySEGYFileObject Creates an empty SEGYFile object. _readHeaders Reads the textual and binary file headers starting at the current file _readTextualHeader Reads the textual header. _readTraces Reads the actual traces starting at the current file pointer position to the end of the file. _repr_pretty_ _write Writes SEG Y to a file like object. _writeTextualHeader Write the textual header in various encodings. Special Methods
__init__ Class that internally handles SEG Y files. __long__ __native__ Hook for the future.utils.native() function __nonzero__ __str__ Prints some information about the SEG Y file. __unicode__