obspy.segy.segy.SEGYBinaryFileHeader

class SEGYBinaryFileHeader(header=None, endian='>')[source]

Bases: object

Parses the binary file header at the given starting position.

Attributes

__dict__
__doc__ str(object=’‘) -> string
__module__ str(object=’‘) -> string
__weakref__ list of weak references to the object (if defined)

Public Methods

write Writes the header to an open file like object.

Private Methods

_createEmptyBinaryFileHeader Just fills all necessary class attributes with zero.
_readBinaryFileHeader Reads the binary file header and stores every value in a class

Special Methods

__init__
__str__ Convenience method to print the binary file header.

This Page