Various utilities for ObsPy
Note
Please import all utilities within your custom applications from this module rather than from any sub module, e.g.
>>> from obspy.core.util import AttribDict # good
instead of
>>> from obspy.core.util.attribdict import AttribDict # bad
- copyright:
The ObsPy Development Team (devs@obspy.org)
- license:
GNU Lesser General Public License, Version 3 (https://www.gnu.org/copyleft/lesser.html)
Classes & Functions
A class which behaves like a dictionary. |
|
Weak replacement for the Python's tempfile.TemporaryFile. |
|
Creates an NumPy array depending on the given data type and fill value. |
|
Function to find the absolute path of a data file |
|
dict() -> new empty dictionary dict(mapping) -> new dictionary initialized from a mapping object's (key, value) pairs dict(iterable) -> new dictionary initialized as if via: d = {} for k, v in iterable: d[k] = v dict(**kwargs) -> new dictionary initialized with the name=value pairs in the keyword argument list. For example: dict(one=1, two=2). |
|
Converts a string in the form "(real, imag)" into a complex type. |
|
Estimate time delta in seconds between each sample from given channel name. |
|
Calculates the score at the given per percentile of the sequence a. |
|
Converts given value to an integer or returns 0 if it fails. |
|
Enumerated type (enum) implementation for Python. |
Modules
AttribDict class for ObsPy. |
|
Base utilities and constants for ObsPy. |
|
Decorator used in ObsPy. |
|
Various additional utilities for ObsPy. |
|
Various types used in ObsPy. |
|
Testing utilities for ObsPy. |
|