org.das2.dataset
Interface VectorDataSet

All Superinterfaces:
DataSet
All Known Implementing Classes:
AbstractTableDataSet.XSliceDataSet, AbstractTableDataSet.YSliceDataSet, AbstractVectorDataSet, ClippedVectorDataSet, DefaultVectorDataSet, OrbitVectorDataSet, QuickVectorDataSet, SingleVectorDataSet, WavVectorDataSet, XSliceDataSet, XTagsVectorDataSet, YSliceDataSet

public interface VectorDataSet
extends DataSet

Interface definition for datasets comprised of a y value for each x tag such that y(x).


Field Summary
 
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
 
Method Summary
 Datum getDatum(int i)
          Returns the Y value for the given index into the x tags as a Datum.
 double getDouble(int i, Units units)
          Returns the Y value for the given index into the x tags as a double with the given units.
 int getInt(int i, Units units)
          Returns the Y value for the given index into the x tags as a int with the given units.
 
Methods inherited from interface org.das2.dataset.DataSet
getPlanarView, getPlaneIds, getProperties, getProperty, getXLength, getXTagDatum, getXTagDouble, getXTagInt, getXUnits, getYUnits
 

Method Detail

getDatum

Datum getDatum(int i)
Returns the Y value for the given index into the x tags as a Datum.

Parameters:
i - index of the x tag for the requested value.
Returns:
the value at index location i as a Datum

getDouble

double getDouble(int i,
                 Units units)
Returns the Y value for the given index into the x tags as a double with the given units.

Parameters:
i - index of the x tag for the requested value.
units - the units the returned value should be coverted to.
Returns:
the value at index location i as a double.

getInt

int getInt(int i,
           Units units)
Returns the Y value for the given index into the x tags as a int with the given units.

Parameters:
i - index of the x tag for the requested value.
units - the units the returned value should be coverted to.
Returns:
the value at index location i as a int.