org.jscience.physics.nuclear.kinematics.math.analysis.spanc
Class CalibrationPeak

java.lang.Object
  extended by org.jscience.physics.nuclear.kinematics.math.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.

See Also:
Serialized Form

Constructor Summary
CalibrationPeak(SpancReaction reaction, double ExProjectile, UncertainNumber ExResidual, UncertainNumber channel)
          Creates new CalibrationPeak
 
Method Summary
 UncertainNumber getChannel()
          DOCUMENT ME!
 double getExProjectile()
          DOCUMENT ME!
 UncertainNumber getExResidual()
          DOCUMENT ME!
static CalibrationPeak getPeak(int which)
          DOCUMENT ME!
static java.util.Collection getPeakCollection()
          DOCUMENT ME!
 int getReactionIndex()
          DOCUMENT ME!
 UncertainNumber getRho()
          DOCUMENT ME!
static UncertainNumber[] getX()
          DOCUMENT ME!
static UncertainNumber[] getY()
          DOCUMENT ME!
static void refreshData(java.util.Collection retrievedPeaks)
          DOCUMENT ME!
static void removeAllPeaks()
          DOCUMENT ME!
static void removePeak(int which)
          DOCUMENT ME!
protected  void setValues(SpancReaction reaction, double ExProjectile, UncertainNumber ExResidual, UncertainNumber channel)
          DOCUMENT ME!
 java.lang.String toString()
          DOCUMENT ME!
 
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)
DOCUMENT ME!

Parameters:
reaction - DOCUMENT ME!
ExProjectile - DOCUMENT ME!
ExResidual - DOCUMENT ME!
channel - DOCUMENT ME!

removePeak

public static void removePeak(int which)
DOCUMENT ME!

Parameters:
which - DOCUMENT ME!

getPeak

public static CalibrationPeak getPeak(int which)
DOCUMENT ME!

Parameters:
which - DOCUMENT ME!
Returns:
DOCUMENT ME!

removeAllPeaks

public static void removeAllPeaks()
DOCUMENT ME!


getPeakCollection

public static java.util.Collection getPeakCollection()
DOCUMENT ME!

Returns:
DOCUMENT ME!

refreshData

public static void refreshData(java.util.Collection retrievedPeaks)
DOCUMENT ME!

Parameters:
retrievedPeaks - DOCUMENT ME!

getRho

public UncertainNumber getRho()
                       throws KinematicsException,
                              NuclearException
DOCUMENT ME!

Returns:
DOCUMENT ME!
Throws:
KinematicsException - DOCUMENT ME!
NuclearException - DOCUMENT ME!

getReactionIndex

public int getReactionIndex()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getExResidual

public UncertainNumber getExResidual()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getExProjectile

public double getExProjectile()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getChannel

public UncertainNumber getChannel()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getY

public static UncertainNumber[] getY()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getX

public static UncertainNumber[] getX()
DOCUMENT ME!

Returns:
DOCUMENT ME!

toString

public java.lang.String toString()
DOCUMENT ME!

Overrides:
toString in class java.lang.Object
Returns:
DOCUMENT ME!