Class MatchedTemplateClassifierTest

java.lang.Object
test.matchedTemplateClassifier.MatchedTemplateClassifierTest

public class MatchedTemplateClassifierTest extends Object
Tests for the matched click classifier.
  • 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.