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 OrderedDict # good
instead of
>>> from obspy.core.util.types import OrderedDict # bad
copyright: | The ObsPy Development Team (devs@obspy.org) |
---|---|
license: | GNU Lesser General Public License, Version 3 (http://www.gnu.org/copyleft/lesser.html) |
AttribDict | A class which behaves like a dictionary. |
NamedTemporaryFile | Weak replacement for the Python’s tempfile.TemporaryFile. |
createEmptyDataChunk | Creates an NumPy array depending on the given data type and fill value. |
getExampleFile | Function to find the absolute path of a test data file |
calcVincentyInverse | Vincenty Inverse Solution of Geodesics on the Ellipsoid. |
gps2DistAzimuth | Computes the distance between two geographic points on the WGS84 |
kilometer2degrees | Convenience function to convert kilometers to degrees assuming a perfectly |
locations2degrees | Convenience function to calculate the great distance between two points on |
BAND_CODE | dict() -> new empty dictionary |
complexifyString | Converts a string in the form “(real, imag)” into a complex type. |
guessDelta | Estimate time delta in seconds between each sample from given channel name. |
scoreatpercentile | Calculates the score at the given per percentile of the sequence a. |
toIntOrZero | Converts given value to an integer or returns 0 if it fails. |
OrderedDict | Dictionary that remembers insertion order |
Enum | Enumerated type (enum) implementation for Python. |