obspy.io.zmap.core.Pickler
Public Methods
Writes ObsPy Catalog into given file. |
|
Returns ZMAP string of given ObsPy Catalog object. |
Private Methods
Warning
Private methods are mainly for internal/developer use and their API might change without notice.
- static Pickler._decimal_year(time)[source]
Return (floating point) decimal year representation of UTCDateTime input value
- static Pickler._hz_error(origin)[source]
Compute horizontal error of origin.
If the origin has an associated origin uncertainty object, we will try to extract the horizontal uncertainty from there. Otherwise we compute it from the individual lat/lon uncertainties stored in origin.
- static Pickler._num2str(num, precision=6)[source]
Convert num into a matlab (and thus zmap) compatible string
Special Methods
- Pickler.__delattr__(name, /)
Implement delattr(self, name).
- Pickler.__dir__()
Default dir() implementation.
- Pickler.__eq__(value, /)
Return self==value.
- Pickler.__format__(format_spec, /)
Default object formatter.
- Pickler.__ge__(value, /)
Return self>=value.
- Pickler.__getattribute__(name, /)
Return getattr(self, name).
- Pickler.__gt__(value, /)
Return self>value.
- Pickler.__hash__()
Return hash(self).
- Pickler.__init_subclass__()
This method is called when a class is subclassed.
The default implementation does nothing. It may be overridden to extend subclasses.
- Pickler.__le__(value, /)
Return self<=value.
- Pickler.__lt__(value, /)
Return self<value.
- Pickler.__ne__(value, /)
Return self!=value.
- Pickler.__new__(**kwargs)
- Pickler.__reduce__()
Helper for pickle.
- Pickler.__reduce_ex__(protocol, /)
Helper for pickle.
- Pickler.__repr__()
Return repr(self).
- Pickler.__setattr__(name, value, /)
Implement setattr(self, name, value).
- Pickler.__sizeof__()
Size of object in memory, in bytes.
- Pickler.__str__()
Return str(self).
- Pickler.__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).