dwvisser.analysis.spanc
Class CalibrationPeak
java.lang.Object
|
+--dwvisser.analysis.spanc.CalibrationPeak
- All Implemented Interfaces:
- java.io.Serializable
- public class CalibrationPeak
- extends java.lang.Object
- implements java.io.Serializable
Representation of a fitted peak used for calibration of
a spectrum.
- Author:
- Dale Visser
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CalibrationPeak
public CalibrationPeak(SpancReaction reaction,
double ExProjectile,
UncertainNumber ExResidual,
UncertainNumber channel)
- Creates new CalibrationPeak
setValues
protected void setValues(SpancReaction reaction,
double ExProjectile,
UncertainNumber ExResidual,
UncertainNumber channel)
removePeak
public static void removePeak(int which)
getPeak
public static CalibrationPeak getPeak(int which)
removeAllPeaks
public static void removeAllPeaks()
getPeakCollection
public static java.util.Collection getPeakCollection()
refreshData
public static void refreshData(java.util.Collection retrievedPeaks)
getRho
public UncertainNumber getRho()
throws KinematicsException
KinematicsException
getReactionIndex
public int getReactionIndex()
getExResidual
public UncertainNumber getExResidual()
getExProjectile
public double getExProjectile()
getChannel
public UncertainNumber getChannel()
getY
public static UncertainNumber[] getY()
getX
public static UncertainNumber[] getX()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object