Class SimpleElectricalNoiseFilter

java.lang.Object
clickTrainDetector.clickTrainAlgorithms.mht.electricalNoiseFilter.SimpleElectricalNoiseFilter
All Implemented Interfaces:
ElectricalNoiseFilter

public class SimpleElectricalNoiseFilter extends Object implements ElectricalNoiseFilter
A simple electrical noise check which checks how low the chi2 value is.
Author:
Jamie Macaulay
  • Constructor Details

    • SimpleElectricalNoiseFilter

      public SimpleElectricalNoiseFilter(StandardMHTChi2 standardMHTChi2)
  • Method Details

    • addChi2Penalties

      public double addChi2Penalties(double chi2, TrackBitSet<?> bitSet, int bitCount, int kcount, int nPruneback)
      Description copied from interface: ElectricalNoiseFilter
      Add electric noise penalty to the chi2 value.
      Specified by:
      addChi2Penalties in interface ElectricalNoiseFilter
      Parameters:
      chi2 - - the chi2 value to add the penalty to.
      bitSet - - the bit set representing the current track.
      bitCount - - the bit count i.e. number of clicks in the train.
      kcount - - the total data unit count.
      nPruneback - - the prune back value i.e. what detections on end of track to ignore.
      Returns:
      chi2 - the input chi2 value.