Skip to content

Commit 5e4e8dd

Browse files
sichinagamtezzele
authored andcommitted
Loosen BOP-DMD tests
1 parent 0b76be2 commit 5e4e8dd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/test_bopdmd.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ def sort_imag(x):
4646

4747

4848
# Simulate data.
49-
t = np.arange(2000) * 0.01
50-
t_long = np.arange(4000) * 0.01
51-
t_uneven = np.delete(t, np.arange(1000)[1::2])
49+
t = np.arange(5000) * 0.01
50+
t_long = np.arange(10000) * 0.01
51+
t_uneven = np.delete(t, np.arange(2000)[1::2])
5252
Z = simulate_z(t)
5353
Z_long = simulate_z(t_long)
5454
Z_uneven = np.delete(Z, np.arange(1000)[1::2], axis=1)
@@ -361,4 +361,4 @@ def relative_error(x, x_true):
361361
bopdmd_error = relative_error(bopdmd.A, expected_A)
362362
bop_success += bopdmd_error < optdmd_error
363363

364-
assert bop_success >= 0.7 * test_trials
364+
assert bop_success >= 0.6 * test_trials

0 commit comments

Comments
 (0)