2.17.2: 2011-06-17

net.sf.basedb.util
Class IntensityCalculatorUtil.JepIntensityCalculatorImpl

java.lang.Object
  extended by net.sf.basedb.util.IntensityCalculatorUtil.JepIntensityCalculatorImpl
All Implemented Interfaces:
IntensityCalculator
Enclosing class:
IntensityCalculatorUtil

private static class IntensityCalculatorUtil.JepIntensityCalculatorImpl
extends Object
implements IntensityCalculator

An implementation of the IntensityCalculator interface using JEP expressions.

See Also:
Jep

Field Summary
private  JEP[] jeps
           
private  MeanFunction mean
           
private  RawFunction raw
           
 
Constructor Summary
private IntensityCalculatorUtil.JepIntensityCalculatorImpl(JEP[] jeps, RawFunction raw, MeanFunction mean)
           
 
Method Summary
 float[] calculateIntensities(RawData rawData)
          Calculate intensities from a raw data spot.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

jeps

private final JEP[] jeps

raw

private final RawFunction raw

mean

private final MeanFunction mean
Constructor Detail

IntensityCalculatorUtil.JepIntensityCalculatorImpl

private IntensityCalculatorUtil.JepIntensityCalculatorImpl(JEP[] jeps,
                                                           RawFunction raw,
                                                           MeanFunction mean)
Method Detail

calculateIntensities

public float[] calculateIntensities(RawData rawData)
Description copied from interface: IntensityCalculator
Calculate intensities from a raw data spot.

Specified by:
calculateIntensities in interface IntensityCalculator
Parameters:
rawData - The raw data object the intensities should be calculated from
Returns:
An array of floats, or null if no intensities could be calculated

2.17.2: 2011-06-17