Peak
jhpro.tseries

Class Peak

  • All Implemented Interfaces:
    Comparable


    public class Peakextends Objectimplements Comparable
    This class represents a gaussian peak, in terms of it's properties. Fields are also provided for the error bars on these properties.
    • Constructor Detail

      • Peak

        public Peak(double position,    double area,    double width)
        Creates new Peak assuming no uncertainty in values.
        Parameters:
        position - position of the peak centroid
        area - total peak area
        width - Full width at half max of the peak
      • Peak

        public Peak(double p,    double pe,    double a,    double ae,    double w,    double we)
        Generates a peak with error bars on its parameters.
        Parameters:
        p - position of peak centroid
        pe - error on position
        a - area of peak
        ae - uncertainty in area
        w - FWHM of peak
        we - uncertainty in FWHM
    • Method Detail

      • getPosition

        public double getPosition()
        Returns:
      • getArea

        public double getArea()
      • getWidth

        public double getWidth()
      • getPositionError

        public double getPositionError()
      • getAreaError

        public double getAreaError()
      • getWidthError

        public double getWidthError()
      • setPosition

        public void setPosition(double p)
      • setPosition

        public void setPosition(double p,               double e)
      • setArea

        public void setArea(double a)
      • setArea

        public void setArea(double a,           double e)
      • setWidth

        public void setWidth(double w)
      • setWidth

        public void setWidth(double w,            double e)

SCaVis 2.2 © jWork.ORG