maltcms.math.functions.similarities
Class ArrayDotMap

java.lang.Object
  extended by maltcms.math.functions.similarities.ArrayDotMap
All Implemented Interfaces:
IArraySimilarity

public class ArrayDotMap
extends Object
implements IArraySimilarity

Calculates the dotmap, but instead of the weighting by mz bin this class uses the standard deviation.

Author:
Mathias Wilhelm(mwilhelm A T TechFak.Uni-Bielefeld.DE)

Constructor Summary
ArrayDotMap()
           
 
Method Summary
 double apply(Array t1, Array t2)
          
 void setStdArray(ArrayDouble.D1 stdArray)
          Setter.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArrayDotMap

public ArrayDotMap()
Method Detail

apply

public double apply(Array t1,
                    Array t2)

Specified by:
apply in interface IArraySimilarity
Returns:

setStdArray

public void setStdArray(ArrayDouble.D1 stdArray)
Setter.

Parameters:
stdArray - variance for each mass bin


Copyright © 2007-2012. All Rights Reserved.