public class PeakFinder extends Object
Modifier and Type | Field and Description |
---|---|
jhpro.tseries.Multiplet[] |
multiplets |
String |
name |
Constructor and Description |
---|
PeakFinder(String name,
double[] spectrum,
double sensitivity,
double width)
Creates new PeakFinder.
|
Modifier and Type | Method and Description |
---|---|
double[] |
getCentroids()
Return centroids of the found peaks.
|
jhpro.tseries.Multiplet[] |
getPeaks()
Return peaks in form of multiplets.
|
void |
setMaxSeparation(double sep)
Set maximum separation between the peaks in sigma (1.3 is the default).
|
public jhpro.tseries.Multiplet[] multiplets
public String name
public PeakFinder(String name, double[] spectrum, double sensitivity, double width)
spectrum
- spectrum to be searchedsensitivity
- larger numbers (typical=3) require better defined peakswidth
- typical FWHM of peaks in spectrumpublic void setMaxSeparation(double sep)
sep
- public double[] getCentroids()
public jhpro.tseries.Multiplet[] getPeaks()
jHepWork 3.8 ©