obspy.io.segy.unpack.OnTheFlyDataUnpacker

class OnTheFlyDataUnpacker(unpack_function, filename, filemode, seek, count, endian='>')[source]

Bases: object

Tie-up a data sample unpack function with its parameters.

This class allows for data to be read directly from the disk as needed, preventing the need to store data in memory.

Attributes

__dict__

__doc__

__module__

__weakref__

list of weak references to the object (if defined)

Special Methods

__call__

Call self as a function.

__dir__

Default dir() implementation.

__format__

Default object formatter.

__init__

Initialize self.

__init_subclass__

This method is called when a class is subclassed.

__new__

Create and return a new object.

__reduce__

Helper for pickle.

__reduce_ex__

Helper for pickle.

__sizeof__

Size of object in memory, in bytes.

__subclasshook__

Abstract classes can override this to customize issubclass().