whistleClassifier
Class QuadraticParameteriser

java.lang.Object
  extended by whistleClassifier.QuadraticParameteriser
All Implemented Interfaces:
FragmentParameteriser

public class QuadraticParameteriser
extends java.lang.Object
implements FragmentParameteriser

Basic three parameters from a whistle fragment from a quadratic fit.

Author:
Doug Gillespie

Field Summary
private  Regressions r
           
 
Constructor Summary
QuadraticParameteriser()
           
 
Method Summary
 int getNumParameters()
          Get the number of parameters returned by this parameteriser
 double[] getParameters(WhistleContour whistleContour)
          Extract the parameters for a given fragment
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

r

private Regressions r
Constructor Detail

QuadraticParameteriser

public QuadraticParameteriser()
Method Detail

getNumParameters

public int getNumParameters()
Description copied from interface: FragmentParameteriser
Get the number of parameters returned by this parameteriser

Specified by:
getNumParameters in interface FragmentParameteriser
Returns:
number of parameters

getParameters

public double[] getParameters(WhistleContour whistleContour)
Description copied from interface: FragmentParameteriser
Extract the parameters for a given fragment

Specified by:
getParameters in interface FragmentParameteriser
Returns:
array of parameters.