2.17.2: 2011-06-17

net.sf.basedb.util
Interface IntensityCalculator

All Known Implementing Classes:
IntensityCalculatorUtil.JepIntensityCalculatorImpl

public interface IntensityCalculator

This interface is used together with the IntensityCalculatorUtil class to help a plugin calculate intensities from raw data spots. A plugin must supply an implementation of this interface to be able to use the IntensityCalculatorUtil.createRootBioAssaySet(DbControl, Experiment, Collection, Job, IntensityCalculator, ProgressReporter).

One simple but powerful implementation is available from the IntensityCalculatorUtil.createJepIntensityCalculator(DbControl, RawDataType, String[]) It creates an intensity calculator that parses a string with a mathematical expression.

Version:
2.0
Author:
Nicklas
Last modified
$Date: 2009-04-06 14:52:39 +0200 (Mon, 06 Apr 2009) $

Method Summary
 float[] calculateIntensities(RawData rawData)
          Calculate intensities from a raw data spot.
 

Method Detail

calculateIntensities

float[] calculateIntensities(RawData rawData)
Calculate intensities from a raw data spot.

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