Qhig / cross-wavelet-transform

This function provides travel-time shifts with Morlet cross-wavelet transformation
13 stars 7 forks source link

plotting_example.py error #1

Open dylanmikesell opened 2 years ago

dylanmikesell commented 2 years ago

Hi, I was trying to run your example and get some errors. I wonder if your example file is no longer matching your code.

The example is looking for cwt, but your package is called xwt. The example is aslo looking to call cfs(), but I do not see that function anywhere in your code base. In xwt.py there is xwt, but the number of outputs do not match the number requested in the cfs() call, so I am not sure if this function should be changed or not. It looks like cfs() also returns the cone of influence (coi), but I do not see this function anywhere. Can you please update to a working example so I can try your code? Thanks!

Qhig commented 2 years ago

Hi,

Thanks you for your feedback, I updated the code and errors in function calls, now the example should work.

Regards,