|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TableDataSet
A DataSet
implementation for 3 dimensional z(x,y) data sets
where the data is arranged in a sequence of tables. Each table will have
a set of monotonically increasing x tags and y tags. The x tags for all
the tables, when taken together in the order that the table are in, will
be monotonically increasing over the whole data set. The y tags are constant
over the y scans of each table, but may change, either in number or value,
from table to table.
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,
int j)
Returns the Z value for the given indices into the x and y tags as a Datum . |
double |
getDouble(int i,
int j,
Units units)
Returns the Z value for the given indices into the x and y tags as a double with the given units. |
double[] |
getDoubleScan(int i,
Units units)
|
int |
getInt(int i,
int j,
Units units)
Returns the Z value for the given indices into the x and y tags as a int with the given units. |
java.lang.Object |
getProperty(int table,
java.lang.String name)
Return the property value attached to the table. |
DatumVector |
getScan(int i)
|
VectorDataSet |
getXSlice(int i)
Returns a slice view of this data set for a specific x value |
int |
getYLength(int table)
Returns the number of y tags in the specified table for this data set. |
VectorDataSet |
getYSlice(int j,
int table)
Returns a slice view of this data set for a specific y value |
Datum |
getYTagDatum(int table,
int j)
Returns the value of the y tag at the given index j as a Datum. |
double |
getYTagDouble(int table,
int j,
Units units)
Returns the value of the y tag at the given index j as a double in the given units. |
int |
getYTagInt(int table,
int j,
Units units)
Returns the value of the y tag at the given index j as an int in the given units. |
DatumVector |
getYTags(int table)
Returns the yTags for this data set as a DatumVector |
Units |
getZUnits()
Returns the Units object representing the unit type of the y values for this data set. |
int |
tableCount()
Returns the number of tables in this data set |
int |
tableEnd(int table)
Returns the index after the last x tag index of the specified table |
int |
tableOfIndex(int i)
Returns the table number that the specified index is in. |
int |
tableStart(int table)
Returns the first x tag index of the specified table. |
Methods inherited from interface org.das2.dataset.DataSet |
---|
getPlanarView, getPlaneIds, getProperties, getProperty, getXLength, getXTagDatum, getXTagDouble, getXTagInt, getXUnits, getYUnits |
Method Detail |
---|
Units getZUnits()
Datum getDatum(int i, int j)
Datum
.
i
- index of the x tag for the requested value.j
- index of the y tag for the requested value.
Datum
double getDouble(int i, int j, Units units)
double
with the given units.
j
- index of the x tag for the requested value.i
- index of the y tag for the requested value.units
- the units the returned value should be coverted to.
double
.DatumVector getScan(int i)
double[] getDoubleScan(int i, Units units)
int getInt(int i, int j, Units units)
int
with the given units.
i
- index of the x tag for the requested value.j
- index of the y tag for the requested value.units
- the units the returned value should be coverted to.
int
.DatumVector getYTags(int table)
DatumVector
DatumVector
Datum getYTagDatum(int table, int j)
Datum.
- Parameters:
j
- the index of the requested y tag
- Returns:
- the value of the y tag at the given index j as a
Datum
.
double getYTagDouble(int table, int j, Units units)
double
in the given units. YTags must be
monotonically increasing with j.
units
- the units of the returned valuej
- the index of the requested y tag
double
.int getYTagInt(int table, int j, Units units)
int in the given units. YTags must be
monotonically increasing with j.
- Parameters:
units
- the units of the returned valuej
- the index of the requested y tag
- Returns:
- the value of the y tag at the given index j as an
int
.
int getYLength(int table)
table
- index of the table
int tableStart(int table)
table
- the index of the table.
int tableEnd(int table)
table
- the index of the table
int tableCount()
int tableOfIndex(int i)
i
- x tag index
VectorDataSet getXSlice(int i)
VectorDataSet getYSlice(int j, int table)
java.lang.Object getProperty(int table, java.lang.String name)
table
- name
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |