Various additional utilities for obspy.signal.

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

az2baz2az Helper function to convert from azimuth to backazimuth or from backazimuth to azimuth.
enframe Splits the vector up into (overlapping) frames beginning at increments of inc.
nearest_pow_2 Finds the nearest integer that is a power of 2.
next_pow_2 Find the next power of two
prev_pow_2 Find the previous power of two
rdct Computes discrete cosine transform of given signal.
smooth Smooths a given signal by computing a central moving average.
stack Stack data by first axis.
util_geo_km Transform lon, lat to km with reference to orig_lon and orig_lat on the
util_lon_lat Transform x, y [km] to decimal degree in reference to orig_lon and orig_lat

Private Functions


Private functions are mainly for internal/developer use and their API might change without notice.

_npts2nfft Calculates number of points for fft from number of samples in trace.