AFLPcore
Class PeakLocate

java.lang.Object
  |
  +--AFLPcore.Operation
        |
        +--AFLPcore.PeakLocate
Direct Known Subclasses:
HighestPeakLocate

public abstract class PeakLocate
extends Operation

This is an abstract class that should be extended to provide different ways of finding the peaks in a lane. Examples include simply waiting for a change in slope or something more complicated like a neural net. The MIN and MAX should always specify the first and last data points in the lane given.


Field Summary
static double MAX
          Specifies the largest value in a lane is to be used.
static double MIN
          Specifies the smallest value in a lane is to be used.
 
Fields inherited from class AFLPcore.Operation
descript, helpFile, name, options
 
Constructor Summary
PeakLocate()
           
 
Method Summary
abstract  void findPeak(DataList lanes, double minSize, double maxSize)
          Finds the peaks in the given lanes and only finds those whose size is greater than or equal to minSize and less than or equal to maxSize.
 
Methods inherited from class AFLPcore.Operation
getDescription, getHelpFile, getName, getOptions, setOptions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MIN

public static double MIN
Specifies the smallest value in a lane is to be used.

MAX

public static double MAX
Specifies the largest value in a lane is to be used.
Constructor Detail

PeakLocate

public PeakLocate()
Method Detail

findPeak

public abstract void findPeak(DataList lanes,
                              double minSize,
                              double maxSize)
Finds the peaks in the given lanes and only finds those whose size is greater than or equal to minSize and less than or equal to maxSize. The peaks that are found will be stored in the given lanes.
Parameters:
lanes - the list of lanes that the algorithm should look for peaks in.
minSize - the minimum size of any peak. If the value MIN is given, then the smallest size in the lane will be used.
maxSize - the maximum size of any peak. If the value MAX is given, then the largest size in the lane will be used.