org.jscience.physics.nuclear.kinematics.math.analysis
Class PeakFinder

java.lang.Object
  extended by org.jscience.physics.nuclear.kinematics.math.analysis.PeakFinder

public class PeakFinder
extends java.lang.Object

DOCUMENT ME!


Field Summary
 Multiplet[] multiplets
          DOCUMENT ME!
 java.lang.String name
          DOCUMENT ME!
 
Constructor Summary
PeakFinder(java.lang.String name, int[] spectrum, double sensitivity, double width)
          Creates new PeakFinder.
 
Method Summary
 double[] getCentroids()
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

multiplets

public Multiplet[] multiplets
DOCUMENT ME!


name

public java.lang.String name
DOCUMENT ME!

Constructor Detail

PeakFinder

public PeakFinder(java.lang.String name,
                  int[] spectrum,
                  double sensitivity,
                  double width)
Creates new PeakFinder. Given a spectrum and search parameters, performs a digital filter peak search as specified in V. Hnatowicz et al in Comp Phys Comm 60 (1990) 111-125. Setting the sensitivity to a typical value of 3 gives a 3% chance for any peak found to be false.

Parameters:
spectrum - spectrum to be searched
sensitivity - larger numbers (typical=3) require better defined peaks
width - typical FWHM of peaks in spectrum
Method Detail

getCentroids

public double[] getCentroids()
DOCUMENT ME!

Returns:
DOCUMENT ME!