obspy.io.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(object=’‘) -> unicode 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
Warning
Private methods are mainly for internal/developer use and their API might change without notice.
_create_empty_binary_file_header Just fills all necessary class attributes with zero. _read_binary_file_header Reads the binary file header and stores every value in a class _repr_pretty_ Special Methods
__format__ default object formatter __init__ __long__ __native__ Hook for the future.utils.native() function __new__ __nonzero__ __reduce__ helper for pickle __reduce_ex__ helper for pickle __sizeof__ size of object in memory, in bytes __str__ Convenience method to print the binary file header. __subclasshook__ Abstract classes can override this to customize issubclass(). __unicode__