obspy.io.rg16.core.HeaderCount

class HeaderCount(channel_set, extended, external)

Bases: tuple

Attributes

channel_set

Alias for field number 0

extended

Alias for field number 1

external

Alias for field number 2

Public Methods

count

Return number of occurrences of value.

index

Return first index of value.

Private Methods

Warning

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

HeaderCount._asdict()

Return a new dict which maps field names to their values.

classmethod HeaderCount._make(iterable)

Make a new HeaderCount object from a sequence or iterable

HeaderCount._replace(**kwds)

Return a new HeaderCount object replacing specified fields with new values

Special Methods

HeaderCount.__add__(value, /)

Return self+value.

HeaderCount.__class_getitem__()

See PEP 585

HeaderCount.__contains__(key, /)

Return key in self.

HeaderCount.__delattr__(name, /)

Implement delattr(self, name).

HeaderCount.__dir__()

Default dir() implementation.

HeaderCount.__eq__(value, /)

Return self==value.

HeaderCount.__format__(format_spec, /)

Default object formatter.

HeaderCount.__ge__(value, /)

Return self>=value.

HeaderCount.__getattribute__(name, /)

Return getattr(self, name).

HeaderCount.__getitem__(key, /)

Return self[key].

HeaderCount.__getnewargs__()

Return self as a plain tuple. Used by copy and pickle.

HeaderCount.__gt__(value, /)

Return self>value.

HeaderCount.__hash__()

Return hash(self).

HeaderCount.__init__()
HeaderCount.__init_subclass__()

This method is called when a class is subclassed.

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

HeaderCount.__iter__()

Implement iter(self).

HeaderCount.__le__(value, /)

Return self<=value.

HeaderCount.__len__()

Return len(self).

HeaderCount.__lt__(value, /)

Return self<value.

HeaderCount.__mul__(value, /)

Return self*value.

HeaderCount.__ne__(value, /)

Return self!=value.

static HeaderCount.__new__(_cls, channel_set, extended, external)

Create new instance of HeaderCount(channel_set, extended, external)

HeaderCount.__reduce__()

Helper for pickle.

HeaderCount.__reduce_ex__(protocol, /)

Helper for pickle.

HeaderCount.__repr__()

Return a nicely formatted representation string

HeaderCount.__rmul__(value, /)

Return value*self.

HeaderCount.__setattr__(name, value, /)

Implement setattr(self, name, value).

HeaderCount.__sizeof__()

Size of object in memory, in bytes.

HeaderCount.__str__()

Return str(self).

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