obspy.core.util.misc
Various additional utilities for ObsPy.
- copyright:
The ObsPy Development Team (devs@obspy.org)
- license:
GNU Lesser General Public License, Version 3 (https://www.gnu.org/copyleft/lesser.html)
Public Functions
A context manager that captures input to stdout/stderr. |
|
A context manager that suppresses output to stdout/stderr. |
|
A context manager that changes to a temporary working directory. |
|
Return name entry point of group for dist or raise ImportError :type dist: str :param dist: The name of the distribution containing the entry point. |
|
Converts a string in the form "(real, imag)" into a complex type. |
|
Calculate prime factorization of integer. |
|
Find contiguous unmasked data in a masked array along the given axis. |
|
Tries to return a list of files (absolute paths) that are untracked by git in the repository. |
|
Function calculating a list of times making up equal length windows from within a given time interval. |
|
Estimate time delta in seconds between each sample from given channel name. |
|
NumPy's FFT implementation utilizes caches to speedup subsequent FFTs of the same size. |
|
Replacement for |
|
Calculates the score at the given per percentile of the sequence a. |
|
Converts given value to an integer or returns 0 if it fails. |
Private Functions
Warning
Private functions are mainly for internal/developer use and their API might change without notice.
This monkey patch prevents crashing Py >=3.6 under Windows while using the SuppressOutput context manager. |
|
Recurse an object, yield a tuple of object, parent, attr. |
|
Specialized form of _yield_obj_parent_attr for getting ResourceIdentifiers. |
Classes
A helper class for switching the matplotlib backend. |