obspy.io.xseed.fields.Loop
- class Loop(name, index_field, data_fields, **kwargs)[source]
Bases:
Field
A loop over multiple elements.
Public Methods
Private Methods
Warning
Private methods are mainly for internal/developer use and their API might change without notice.
- Loop._format_string(s)
Using SEED specific flags to format strings.
This method is partly adopted from fseed.py, the SEED builder for SeisComP written by Andres Heinloo, GFZ Potsdam in 2005.
- Loop._repr_pretty_(p, cycle)
Special Methods
- Loop.__delattr__(name, /)
Implement delattr(self, name).
- Loop.__dir__()
Default dir() implementation.
- Loop.__eq__(value, /)
Return self==value.
- Loop.__format__(format_spec, /)
Default object formatter.
- Loop.__ge__(value, /)
Return self>=value.
- Loop.__getattribute__(name, /)
Return getattr(self, name).
- Loop.__gt__(value, /)
Return self>value.
- Loop.__hash__()
Return hash(self).
- Loop.__init_subclass__()
This method is called when a class is subclassed.
The default implementation does nothing. It may be overridden to extend subclasses.
- Loop.__le__(value, /)
Return self<=value.
- Loop.__lt__(value, /)
Return self<value.
- Loop.__ne__(value, /)
Return self!=value.
- Loop.__new__(**kwargs)
- Loop.__reduce__()
Helper for pickle.
- Loop.__reduce_ex__(protocol, /)
Helper for pickle.
- Loop.__repr__()
Return repr(self).
- Loop.__setattr__(name, value, /)
Implement setattr(self, name, value).
- Loop.__sizeof__()
Size of object in memory, in bytes.
- Loop.__str__()
- Loop.__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).