gov.sns.tools.plot
Class UnwrappedGeneratorGraphData

java.lang.Object
  |
  +--gov.sns.tools.plot.BasicGraphData
        |
        +--gov.sns.tools.plot.UnwrappedGeneratorGraphData

public class UnwrappedGeneratorGraphData
extends BasicGraphData


Nested Class Summary
 
Nested classes inherited from class gov.sns.tools.plot.BasicGraphData
BasicGraphData.CompareErr, BasicGraphData.CompareX, BasicGraphData.CompareY, BasicGraphData.XYpoint
 
Field Summary
protected  BasicGraphData extUnwrappedData
           
 
Fields inherited from class gov.sns.tools.plot.BasicGraphData
color, drawLinesOn, drawPointsOn, errYmax, graphDataContainerV, immediateContainerUpdate, lineStroke, lineThick, lockUpObj, markShape, markShapeFilled, name, nInterpPoints, pointSize, propertyMap, xMax, xMin, xyInterpPointV, xyPointV, yMax, yMin
 
Constructor Summary
UnwrappedGeneratorGraphData()
          data set constructor
UnwrappedGeneratorGraphData(int nPoint, int nInterpPoints)
          data set constructor with defined initial capacity for number of (x,y) points and interpolated points
 
Method Summary
 void addPoint(double x, double y, double err)
          add (x,y, error of y) point to the data set and an unwrapped data point to the external container
static void main(java.lang.String[] args)
          this is a test method
 void removeAllPoints()
          remove all points from the data set
 void setExtUnwrappedContainer(BasicGraphData extUnwrappedData)
          set the external data container for unwrapped data
protected  double unwrap(double y, double yIn)
          this method finds +-2*PI to produce the nearest points
 
Methods inherited from class gov.sns.tools.plot.BasicGraphData
addPoint, addPoint, addPoint, calculateRepresentation, getCapacity, getDrawLinesOn, getDrawPointsOn, getErr, getGraphColor, getGraphDataContainer, getGraphName, getGraphPointShape, getGraphPointSize, getGraphProperty, getGraphPropertyKeys, getGraphPropertySize, getImmediateContainerUpdate, getInterpX, getInterpY, getLineThick, getMaxErr, getMaxX, getMaxY, getMinX, getMinY, getNumberOfGraphDataContainers, getNumbOfInterpPoints, getNumbOfPoints, getStroke, getValueDerivativeY, getValueY, getX, getY, init, isGraphPointShapeFilled, registerInContainer, removeContainer, removePoint, setDrawLinesOn, setDrawPointsOn, setGraphColor, setGraphName, setGraphPointFillingShape, setGraphPointShape, setGraphPointSize, setGraphProperty, setImmediateContainerUpdate, setLineThick, updateContainer, updateData, updatePoint, updatePoint, updateValues, updateValues, updateValuesY, updateValuesY, updateValueY
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

extUnwrappedData

protected BasicGraphData extUnwrappedData
Constructor Detail

UnwrappedGeneratorGraphData

public UnwrappedGeneratorGraphData()
data set constructor


UnwrappedGeneratorGraphData

public UnwrappedGeneratorGraphData(int nPoint,
                                   int nInterpPoints)
data set constructor with defined initial capacity for number of (x,y) points and interpolated points

Method Detail

setExtUnwrappedContainer

public void setExtUnwrappedContainer(BasicGraphData extUnwrappedData)
set the external data container for unwrapped data


addPoint

public void addPoint(double x,
                     double y,
                     double err)
add (x,y, error of y) point to the data set and an unwrapped data point to the external container

Overrides:
addPoint in class BasicGraphData

unwrap

protected double unwrap(double y,
                        double yIn)
this method finds +-2*PI to produce the nearest points


removeAllPoints

public void removeAllPoints()
remove all points from the data set

Overrides:
removeAllPoints in class BasicGraphData

main

public static void main(java.lang.String[] args)
Description copied from class: BasicGraphData
this is a test method