obspy.io.reftek.packet

Routines for handling of Reftek130 packets.

Currently only event header (EH), event trailer (ET) and data (DT) packets are handled. These three packets have more or less the same meaning in the first 8 bytes of the payload which makes the first 24 bytes the so called extended header.

Private Functions

Warning

Private functions are mainly for internal/developer use and their API might change without notice.

_initial_unpack_packets First unpack data with dtype matching itemsize of storage in the reftek
_unpack_C0_C2_data Unpacks sample data from a packet array that uses ‘C0’ or ‘C2’ data
_unpack_C0_C2_data_fast Unpacks sample data from a packet array that uses ‘C0’ or ‘C2’ data
_unpack_C0_C2_data_safe Unpacks sample data from a packet array that uses ‘C0’ or ‘C2’ data

Classes

DTPacket
EHPacket
Packet

Exceptions

Reftek130UnpackPacketError