org.n52.operation.smac
Class RadianceFromDN

java.lang.Object
  extended by org.n52.math.AbstractAlgorithm
      extended by org.n52.operation.smac.RadianceFromDN
All Implemented Interfaces:
Algorithm

public class RadianceFromDN
extends AbstractAlgorithm
implements Algorithm

Algorithm to calculate the radiance based on the digital number. Intended to be used for MSG imagery.

copied from MSGRasterBand::rRadiometricCorrection() in MsgDataset.cpp by Bas Retsios

Author:
Wim Koolhoven

Method Summary
 double calculate(double[] params)
          calculates the result of the Algorithm for these parameters.
 
Methods inherited from class org.n52.math.AbstractAlgorithm
getDescription, getDocURL, getName, getNrParams, getParamDescription, getParamName, getVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.n52.math.Algorithm
getDescription, getDocURL, getName, getNrParams, getParamDescription, getParamName, getVersion
 

Method Detail

calculate

public double calculate(double[] params)
Description copied from interface: Algorithm
calculates the result of the Algorithm for these parameters. Calling the Algorithm multiple times with the same params has to be consistent

Specified by:
calculate in interface Algorithm
Parameters:
params - the Array has to have as many elements as specified with Algorithm.getNrParams()
Returns:
the result