obspy.signal.filter.envelope
- envelope(data)[source]
Envelope of a function.
Computes the envelope of the given function. The envelope is determined by adding the squared amplitudes of the function and it’s Hilbert-Transform and then taking the square-root. (See [Kanasewich1981]) The envelope at the start/end should not be taken too seriously.
- Parameters:
data (numpy.ndarray) – Data to make envelope of.
- Returns:
Envelope of input data.