obspy.io.reftek.packet.DTPacket

class DTPacket(data)[source]

Bases: Packet

Attributes

nanoseconds

time

type

Public Methods

from_data

Special Methods

DTPacket.__delattr__(name, /)

Implement delattr(self, name).

DTPacket.__dir__()

Default dir() implementation.

DTPacket.__eq__(value, /)

Return self==value.

DTPacket.__format__(format_spec, /)

Default object formatter.

DTPacket.__ge__(value, /)

Return self>=value.

DTPacket.__getattr__(name)
DTPacket.__getattribute__(name, /)

Return getattr(self, name).

DTPacket.__gt__(value, /)

Return self>value.

DTPacket.__hash__()

Return hash(self).

DTPacket.__init__(data)[source]
DTPacket.__init_subclass__()

This method is called when a class is subclassed.

The default implementation does nothing. It may be overridden to extend subclasses.

DTPacket.__le__(value, /)

Return self<=value.

DTPacket.__lt__(value, /)

Return self<value.

DTPacket.__ne__(value, /)

Return self!=value.

DTPacket.__new__(**kwargs)
DTPacket.__reduce__()

Helper for pickle.

DTPacket.__reduce_ex__(protocol, /)

Helper for pickle.

DTPacket.__repr__()

Return repr(self).

DTPacket.__setattr__(name, value, /)

Implement setattr(self, name, value).

DTPacket.__sizeof__()

Size of object in memory, in bytes.

DTPacket.__str__(compact=False)[source]
DTPacket.__subclasshook__()

Abstract classes can override this to customize issubclass().

This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).