You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When passing ntau to wavelet_coherence() while using the wwz method, an error is produced as wwz_coherence() does not have an argument for ntau.
Not sure if this should be a separate issue, but when trying to apply signif_test() to the Coherence instance with ntau not equal to 50, wavelet_coherence() ignores the new tau vector, causing an error with plotting the significance values:
Expected behavior:
Dimension 0 of significant values matrix would have same length of tau of Coherence instance.
Actual behavior:
Dimension 0 of significant values matrix is 50 regardless of length of tau of Coherence instance.
neillinehan
added a commit
to neillinehan/Pyleoclim_util
that referenced
this issue
Dec 22, 2023
Fixes part-2 of issue: LinkedEarth#484
Move ntau-pop up to avoid errors where ntau does not exist.
Add condition for the scenario where 'tau' is in settings, (as is the case when signif_test() calls wavelet_coherence()).
Describe the bug
When passing ntau to wavelet_coherence() while using the wwz method, an error is produced as wwz_coherence() does not have an argument for ntau.
example function call that produces the error:
APAR_pyleo.wavelet_coherence(SIFA_pyleo,'wwz',
freq_kwargs={'nfreq':100},
verbose=True,
settings={'ntau':150})
The text was updated successfully, but these errors were encountered: