obspy.segy.segy.SEGYBinaryFileHeader

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

Bases: future.types.newobject.newobject

Parses the binary file header at the given starting position.

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 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
_repr_pretty_

Special Methods

__init__
__long__
__native__ Hook for the future.utils.native() function
__nonzero__
__str__ Convenience method to print the binary file header.
__unicode__