public abstract class WavVectorDataSet extends java.lang.Object implements VectorDataSet
PROPERTY_CACHE_TAG, PROPERTY_FORMATTER, PROPERTY_OPERATION, PROPERTY_PLANE_PEAKS, PROPERTY_PLANE_WEIGHTS, PROPERTY_RENDERER, PROPERTY_SIZE_BYTES, PROPERTY_SOURCE, PROPERTY_SUMMARY, PROPERTY_TITLE, PROPERTY_X_CACHE_RES, PROPERTY_X_CACHE_RNG, PROPERTY_X_FORMAT, PROPERTY_X_LABEL, PROPERTY_X_MONOTONIC, PROPERTY_X_RANGE, PROPERTY_X_SUMMARY, PROPERTY_X_TAG_WIDTH, PROPERTY_X_VALID_MAX, PROPERTY_X_VALID_MIN, PROPERTY_Y_CACHE_RES, PROPERTY_Y_CACHE_RNG, PROPERTY_Y_FILL, PROPERTY_Y_FORMAT, PROPERTY_Y_LABEL, PROPERTY_Y_MONOTONIC, PROPERTY_Y_RANGE, PROPERTY_Y_SCALETYPE, PROPERTY_Y_SUMMARY, PROPERTY_Y_TAG_WIDTH, PROPERTY_Y_VALID_MAX, PROPERTY_Y_VALID_MIN, PROPERTY_Z_FILL, PROPERTY_Z_FORMAT, PROPERTY_Z_LABEL, PROPERTY_Z_RANGE, PROPERTY_Z_SCALETYPE, PROPERTY_Z_SUMMARY, PROPERTY_Z_VALID_MAX, PROPERTY_Z_VALID_MIN| Modifier and Type | Method and Description |
|---|---|
static WavVectorDataSet |
createFromFile(java.io.File wavFile) |
static WavVectorDataSet |
createWavVectorDataSet(java.nio.ByteBuffer buf,
javax.sound.sampled.AudioFormat audioFormat) |
Datum |
getDatum(int i)
Returns the Y value for the given index into the x tags as a
Datum. |
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. |
DataSet |
getPlanarView(java.lang.String planeID)
Returns a
DataSet with the specified view as the primary
view. |
java.lang.String[] |
getPlaneIds()
Returns a list of auxiliary planes (e.g.
|
java.util.Map |
getProperties()
Returns all dataset properties in a Map.
|
java.lang.Object |
getProperty(java.lang.String name)
Returns the property value associated with the string
name |
int |
getXLength()
Returns the number of x tags in this data set.
|
Datum |
getXTagDatum(int i)
Returns the value of the x tag at the given index i as a
Datum. |
double |
getXTagDouble(int i,
Units units)
Returns the value of the x tag at the given index i as a
double in the given units. |
int |
getXTagInt(int i,
Units units)
Returns the value of the x tag at the given index i as an
int in the given units. |
Units |
getXUnits()
Returns the Units object representing the unit type of the x tags
for this data set.
|
Units |
getYUnits()
Returns the Units object representing the unit type of the y tags
or y values for this data set.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDoublepublic DataSet getPlanarView(java.lang.String planeID)
DataSetDataSet with the specified view as the primary
view.getPlanarView in interface DataSetplaneID - the String id of the requested plane.DataSetpublic java.lang.String[] getPlaneIds()
DataSetgetPlaneIds in interface DataSetpublic static WavVectorDataSet createWavVectorDataSet(java.nio.ByteBuffer buf, javax.sound.sampled.AudioFormat audioFormat) throws java.io.IOException
java.io.IOExceptionpublic static WavVectorDataSet createFromFile(java.io.File wavFile) throws java.io.FileNotFoundException, java.io.IOException
java.io.FileNotFoundExceptionjava.io.IOExceptionpublic int getXLength()
DataSetgetXLength in interface DataSetpublic double getXTagDouble(int i,
Units units)
DataSetdouble in the given units. XTags must be
monotonically increasing with i.getXTagDouble in interface DataSeti - the index of the requested x tagunits - the units of the returned valuedouble.public Units getXUnits()
DataSetpublic Units getYUnits()
DataSetpublic Datum getDatum(int i)
VectorDataSetDatum.getDatum in interface VectorDataSeti - index of the x tag for the requested value.Datumpublic int getInt(int i,
Units units)
VectorDataSetint with the given units.getInt in interface VectorDataSeti - index of the x tag for the requested value.units - the units the returned value should be coverted to.int.public java.util.Map getProperties()
DataSetgetProperties in interface DataSetpublic java.lang.Object getProperty(java.lang.String name)
DataSetnamegetProperty in interface DataSetname - the name of the property requestedname or nullpublic Datum getXTagDatum(int i)
DataSetDatum.getXTagDatum in interface DataSeti - the index of the requested x tagDatum.public int getXTagInt(int i,
Units units)
DataSetint in the given units. XTags must be
monotonically increasing with i.getXTagInt in interface DataSeti - the index of the requested x tagunits - the units of the returned value.int.