org.das2.dataset.DefaultVectorDataSet
DefaultVectorDataSet( double[] xTags, Units xUnits, double[] yValues, Units yUnits, java.util.Map properties )
Creates a new instance of DefaultVectorDataSet
DefaultVectorDataSet( double[] xTags, Units xUnits, double[] yValues, Units yUnits, java.util.Map yValuesMap, java.util.Map yUnitsMap, java.util.Map properties )
Creates a new instance of DefaultVectorDataSet
The keys for the properties, yValuesMap, and unitsMap parameter must
consist solely of String values. If any of these key sets contain
non-string values an IllegalArgumentException will be thrown.
The key set of the yUnitsMap parameter must match exactly the key set
of the yValuesMap. If their key sets do not exactly match, an
IllegalArgumentException will be thrown.
getDatum
getDatum( int i ) → Datum
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
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
getDouble
getDouble( int i, Units units ) → double
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
.
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
getInt
getInt( int i, Units units ) → int
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
.
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
getPlanarView
getPlanarView( String planeID ) → org.das2.dataset.DataSet
Returns a DataSet
with the specified view as the primary
view.
Parameters
planeID - the String
id of the requested plane.
Returns:
the specified view, as a DataSet
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
getPlaneIds
getPlaneIds( ) → String[]
Returns:
java.lang.String[]
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]