Skip to content

Commit

Permalink
add test for Neil's feature
Browse files Browse the repository at this point in the history
  • Loading branch information
CommonClimate committed Jan 3, 2024
1 parent e3185f9 commit a230922
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pyleoclim/tests/test_core_Series.py
Original file line number Diff line number Diff line change
Expand Up @@ -972,6 +972,14 @@ def test_xwave_t3(self):
ts3 = pyleo.Series(time=t_unevenly, value=v_unevenly)
ts4 = pyleo.Series(time=t1_unevenly, value=v1_unevenly)
scal = ts3.wavelet_coherence(ts4,method='wwz')

def test_xwave_t5(self):
''' Test Series.wavelet_coherence() with WWZ with specified ntau
'''
nt = 100
ts1 = gen_ts(model='colored_noise', nt=nt)
ts2 = gen_ts(model='colored_noise', nt=nt)
_ = ts1.wavelet_coherence(ts2,method='wwz',settings={'ntau':10})

class TestUISeriesWavelet():
''' Test the wavelet functionalities
Expand Down

0 comments on commit a230922

Please sign in to comment.