Open mcardenass opened 2 hours ago
You need to return scales also from the source code obspy.signal.tf_misfit.cwt, it only returns amplitude in the source code. Regarding the superlet, I'll look into your code and will get back to you earliest possible.
Thanks & Regards Priyanshu
On Thu, 24 Oct, 2024, 11:52 am Martin, @.***> wrote:
I get the following error when calling the cwt function:
Traceback (most recent call last): Celda In[20], línea 7 amplitude, scale = cwt(test[0]. datos, dt=1, w0=6, fmin=fmin, fmax=fmax, nf=filters) ValueError: too many values to unpack (expected 2)
Apparently, the function only returns the amplitude vector but not the scale. Will it be the Obspy version?
Thank you in advance
— Reply to this email directly, view it on GitHub https://github.com/Priyanshurgupta/t-f-normalization/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/A7PUYER4YIMA2WUZSSWIGHDZ5CGZ5AVCNFSM6AAAAABQQKEZ7GVHI2DSMVQWIX3LMV43ASLTON2WKOZSGYYTANJZGE3TCNQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>
I get the following error when calling the cwt function:
Traceback (most recent call last): Celda In[20], línea 7 amplitude, scale = cwt(test[0]. datos, dt=1, w0=6, fmin=fmin, fmax=fmax, nf=filters) ValueError: too many values to unpack (expected 2)
Apparently, the function only returns the amplitude vector but not the scale. Will it be the Obspy version?
Thank you in advance