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

Constructor Summary
CalibrationPeak(SpancReaction reaction, double ExProjectile, UncertainNumber ExResidual, UncertainNumber channel)
          Creates new CalibrationPeak
 
Method Summary
 UncertainNumber getChannel()
           
 double getExProjectile()
           
 UncertainNumber getExResidual()
           
static CalibrationPeak getPeak(int which)
           
static java.util.Collection getPeakCollection()
           
 int getReactionIndex()
           
 UncertainNumber getRho()
           
static UncertainNumber[] getX()
           
static UncertainNumber[] getY()
           
static void refreshData(java.util.Collection retrievedPeaks)
           
static void removeAllPeaks()
           
static void removePeak(int which)
           
protected  void setValues(SpancReaction reaction, double ExProjectile, UncertainNumber ExResidual, UncertainNumber channel)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CalibrationPeak

public CalibrationPeak(SpancReaction reaction,
                       double ExProjectile,
                       UncertainNumber ExResidual,
                       UncertainNumber channel)
Creates new CalibrationPeak

Method Detail

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