Dear all,
1)
I'm trying to envelope a trace using the obspy.signal.filter.envelope function.
I get this warning:
/usr/local/lib/python2.7/dist-packages/obspy/signal/filter.py:209: RuntimeWarning: invalid value encountered in sqrt
data = (data ** 2 + hilb ** 2) ** 0.5
Does anyone know, what is this?
What's the difference by using the obspy.signal.cpxtrace.envelope function?
2)
After the filter.envelope, I'm trying to normalize the trace but I get an "nan" array of data:
[ nan nan nan ..., nan nan nan]
This is not happening though if I use the cpxtrace.envelope function.
Any ideas?
Thank you in advance,
Nikos Triantafyllis