Class NormalizedData

java.lang.Object
likelihoodDetectionModule.normalizer.NormalizedData

public class NormalizedData extends Object
This is a data type for normalizer output. It contains both the signal and the noise estimates for threshold processing.
Author:
Dave Flogeras
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    double
     
    double
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    NormalizedData(double signal, double noise)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    snr()
    This method returns the signal to noise ratio.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • signal

      public double signal
    • noise

      public double noise
  • Constructor Details

    • NormalizedData

      public NormalizedData(double signal, double noise)
  • Method Details

    • snr

      public double snr()
      This method returns the signal to noise ratio. It is a linear ratio, not dB (ie. a straight divide)
      Returns:
      The SNR as a linear ratio (not dB)