Package test.matchedTemplateClassifier
Class MatchedTemplateClassifierTest
java.lang.Object
test.matchedTemplateClassifier.MatchedTemplateClassifierTest
Tests for the matched click classifier.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Test the FFT method of correlating two identical waveforms.void
Test the match correlation algorithm by cross correlating a waveform with itself.void
Test the match correlation algorithm combined with click length algorithm.
-
Constructor Details
-
MatchedTemplateClassifierTest
public MatchedTemplateClassifierTest()
-
-
Method Details
-
testMatchCorr
@Test public void testMatchCorr()Test the match correlation algorithm by cross correlating a waveform with itself. Results are tested against the matlab xcorr funtion -
testMatchCorrLen
@Test public void testMatchCorrLen()Test the match correlation algorithm combined with click length algorithm. Here we want to test that a long waveform can be processed properly - i.e the peak of the click can be found and cross correlation performed on a shortened section. -
testFFTCorrelation
@Test public void testFFTCorrelation()Test the FFT method of correlating two identical waveforms.
-