org.das2.dataset.test
Class RipplesDataSet

java.lang.Object
  extended by org.das2.dataset.test.FunctionTableDataSet
      extended by org.das2.dataset.test.RipplesDataSet
All Implemented Interfaces:
DataSet, TableDataSet

public final class RipplesDataSet
extends FunctionTableDataSet
implements TableDataSet


Field Summary
 
Fields inherited from class org.das2.dataset.test.FunctionTableDataSet
xtags, ytags
 
Fields inherited from interface org.das2.dataset.DataSet
PROPERTY_CACHE_TAG, PROPERTY_FORMATTER, PROPERTY_PLANE_PEAKS, PROPERTY_PLANE_WEIGHTS, PROPERTY_RENDERER, PROPERTY_SIZE_BYTES, PROPERTY_X_LABEL, PROPERTY_X_MONOTONIC, PROPERTY_X_RANGE, PROPERTY_X_TAG_WIDTH, PROPERTY_Y_LABEL, PROPERTY_Y_RANGE, PROPERTY_Y_SCALETYPE, PROPERTY_Y_TAG_WIDTH, PROPERTY_Z_LABEL, PROPERTY_Z_RANGE, PROPERTY_Z_SCALETYPE
 
Constructor Summary
RipplesDataSet()
           
RipplesDataSet(double x1, double y1, double p1, double x2, double y2, double p2, int xlength, int ylength)
          creates a dataset that is the sum of two rippley functions that look appealling and are useful for testing.
 
Method Summary
 double getDoubleImpl(int i, int j, Units units)
           
 
Methods inherited from class org.das2.dataset.test.FunctionTableDataSet
fillCache, getDatum, getDouble, getDoubleScan, getInt, getPlanarView, getPlaneIds, getProperties, getProperty, getProperty, getScan, getXLength, getXSlice, getXTagDatum, getXTagDouble, getXTagInt, getXUnits, getYLength, getYSlice, getYTagDatum, getYTagDouble, getYTagInt, getYTags, getYUnits, getZUnits, tableCount, tableEnd, tableOfIndex, tableStart, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.das2.dataset.TableDataSet
getDatum, getDouble, getDoubleScan, getInt, getProperty, getScan, getXSlice, getYLength, getYSlice, getYTagDatum, getYTagDouble, getYTagInt, getYTags, getZUnits, tableCount, tableEnd, tableOfIndex, tableStart
 
Methods inherited from interface org.das2.dataset.DataSet
getPlanarView, getPlaneIds, getProperties, getProperty, getXLength, getXTagDatum, getXTagDouble, getXTagInt, getXUnits, getYUnits
 

Constructor Detail

RipplesDataSet

public RipplesDataSet()

RipplesDataSet

public RipplesDataSet(double x1,
                      double y1,
                      double p1,
                      double x2,
                      double y2,
                      double p2,
                      int xlength,
                      int ylength)
creates a dataset that is the sum of two rippley functions that look appealling and are useful for testing.

Parameters:
x1 - the x coordinate of the first ripple source
y1 - the y coordinate of the first ripple source
p1 - the radius of the first ripple
x2 - the x coordinate of the first ripple source
y2 - the y coordinate of the first ripple source
p2 - the radius of the first ripple
xlength - the number of columns in the dataset.
ylength - the number of rows in the dataset.
Method Detail

getDoubleImpl

public double getDoubleImpl(int i,
                            int j,
                            Units units)
Specified by:
getDoubleImpl in class FunctionTableDataSet