We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 209e522 commit 10b476bCopy full SHA for 10b476b
tests/test_havok.py
@@ -368,6 +368,17 @@ def test_threshold_2():
368
assert thres_1 == thres_2
369
370
371
+def test_threshold_3():
372
+ """
373
+ Test compute_threshold function.
374
+ Test that the threshold computation function properly throws an
375
+ error if it is invoked with the default parameters prior to fitting.
376
377
+ havok = HAVOK(svd_rank=16, delays=100)
378
+ with raises(ValueError):
379
+ _ = havok.compute_threshold()
380
+
381
382
def test_dmd_1():
383
"""
384
Test that HAVOK works when used with an externally-defined DMD model.
tutorials/tutorial19/tutorial-19-havok.ipynb
0 commit comments