obspy.io.sac.sactrace.DataHeader

class DataHeader(name, func)[source]

Bases: SACHeader

Special Methods

DataHeader.__delattr__(name, /)

Implement delattr(self, name).

DataHeader.__dir__()

Default dir() implementation.

DataHeader.__eq__(value, /)

Return self==value.

DataHeader.__format__(format_spec, /)

Default object formatter.

DataHeader.__ge__(value, /)

Return self>=value.

DataHeader.__get__(instance, instance_type)[source]
DataHeader.__getattribute__(name, /)

Return getattr(self, name).

DataHeader.__gt__(value, /)

Return self>value.

DataHeader.__hash__()

Return hash(self).

DataHeader.__init__(name, func)[source]
DataHeader.__init_subclass__()

This method is called when a class is subclassed.

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

DataHeader.__le__(value, /)

Return self<=value.

DataHeader.__lt__(value, /)

Return self<value.

DataHeader.__ne__(value, /)

Return self!=value.

DataHeader.__new__(**kwargs)
DataHeader.__reduce__()

Helper for pickle.

DataHeader.__reduce_ex__(protocol, /)

Helper for pickle.

DataHeader.__repr__()

Return repr(self).

DataHeader.__set__(instance, value)[source]
DataHeader.__setattr__(name, value, /)

Implement setattr(self, name, value).

DataHeader.__sizeof__()

Size of object in memory, in bytes.

DataHeader.__str__()

Return str(self).

DataHeader.__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).