obspy.io.segy.pack

Functions that will all take a file pointer and the sample count and return a NumPy array with the unpacked values.

Public Functions

pack_1byte_integer
pack_2byte_integer Packs 2 byte integers.
pack_4byte_fixed_point
pack_4byte_ibm Packs 4 byte IBM floating points. This will only work if the host system
pack_4byte_ieee Packs 4 byte IEEE floating points.
pack_4byte_integer Packs 4 byte integers.

Exceptions

WrongDtypeException