obspy.io.sac.sactrace.RelativeTimeHeader

class RelativeTimeHeader(name)[source]

Bases: obspy.io.sac.sactrace.FloatHeader

Special Methods

RelativeTimeHeader.__delattr__(name, /)

Implement delattr(self, name).

RelativeTimeHeader.__dir__()

Default dir() implementation.

RelativeTimeHeader.__eq__(value, /)

Return self==value.

RelativeTimeHeader.__format__(format_spec, /)

Default object formatter.

RelativeTimeHeader.__ge__(value, /)

Return self>=value.

RelativeTimeHeader.__get__(instance, instance_type)
RelativeTimeHeader.__getattribute__(name, /)

Return getattr(self, name).

RelativeTimeHeader.__gt__(value, /)

Return self>value.

RelativeTimeHeader.__hash__()

Return hash(self).

RelativeTimeHeader.__init__(name)
RelativeTimeHeader.__init_subclass__()

This method is called when a class is subclassed.

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

RelativeTimeHeader.__le__(value, /)

Return self<=value.

RelativeTimeHeader.__lt__(value, /)

Return self<value.

RelativeTimeHeader.__ne__(value, /)

Return self!=value.

RelativeTimeHeader.__new__(**kwargs)
RelativeTimeHeader.__reduce__()

Helper for pickle.

RelativeTimeHeader.__reduce_ex__(protocol, /)

Helper for pickle.

RelativeTimeHeader.__repr__()

Return repr(self).

RelativeTimeHeader.__set__(instance, value)[source]

Intercept the set value to make sure it is an offset from the SAC reference time.

RelativeTimeHeader.__setattr__(name, value, /)

Implement setattr(self, name, value).

RelativeTimeHeader.__sizeof__()

Size of object in memory, in bytes.

RelativeTimeHeader.__str__()

Return str(self).

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