## org.das2.dataset.VectorDataSetAdapter

## VectorDataSetAdapter( QDataSet y, QDataSet x )

Creates a new instance of VectorDataSetAdapter

## create

create( QDataSet y ) → org.das2.dataset.VectorDataSet

### Parameters

y - a QDataSet

### Returns:

org.das2.dataset.VectorDataSet
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## createFromBundle

createFromBundle( QDataSet bds ) → org.das2.dataset.VectorDataSet

In das2's dataset, Z(X,Y) where X and Y are rank 1, this is a dataset with Y(X) and Y has a plane for the Z values. Also we adapt a bundle with two columns to Y(X).

### Parameters

bds - a dataset

### Returns:

an org.das2.dataset.VectorDataSet
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## getDatum

getDatum( int i ) → Datum

### Parameters

i - an int

### Returns:

org.das2.datum.Datum
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## getDouble

getDouble( int i, Units units ) → double

### Parameters

i - an int
units - an Units

### Returns:

double
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## getInt

getInt( int i, Units units ) → int

### Parameters

i - an int
units - an Units

### Returns:

int
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## getPlanarView

getPlanarView( String planeID ) → org.das2.dataset.DataSet

### Parameters

planeID - a String

### Returns:

org.das2.dataset.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]

## getProperties

getProperties( ) → java.util.Map

### Returns:

java.util.Map
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## getProperty

getProperty( String name ) → Object

### Parameters

name - a String

### Returns:

java.lang.Object
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## getXLength

getXLength( ) → int

### Returns:

int
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## getXTagDatum

getXTagDatum( int i ) → Datum

### Parameters

i - an int

### Returns:

org.das2.datum.Datum
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## getXTagDouble

getXTagDouble( int i, Units units ) → double

### Parameters

i - an int
units - an Units

### Returns:

double
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## getXTagInt

getXTagInt( int i, Units units ) → int

### Parameters

i - an int
units - an Units

### Returns:

int
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## getXUnits

getXUnits( ) → Units

### Returns:

org.das2.datum.Units
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## getYUnits

getYUnits( ) → Units

### Returns:

org.das2.datum.Units
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## toString

toString( ) → String

### Returns:

java.lang.String
[search for examples] [view on GitHub] [view on old javadoc] [view source]