## org.das2.dataset.WeightsTableDataSet

WeightsTableDataSet wraps a TableDataSet and returns 0.0 if the data point is not valid, and non-zero (generally one) otherwise. This is intended to provide a consistent way to get the weights without having to handle the case where the weights plane doesn't exist.

## create

create( org.das2.dataset.TableDataSet source ) → org.das2.dataset.TableDataSet

### Parameters

source - a TableDataSet

### Returns:

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

## getDatum

getDatum( int i, int j ) → Datum

### Parameters

i - an int
j - an int

### Returns:

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

## getDouble

getDouble( int i, int j, Units units ) → double

### Parameters

i - an int
j - an int
units - an Units

### Returns:

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

## getDoubleScan

getDoubleScan( 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, int j, Units units ) → int

### Parameters

i - an int
j - 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]
getProperty( int table, String name ) → Object [view source]

## getScan

getScan( int i ) → org.das2.datum.DatumVector

### Parameters

i - an int

### Returns:

org.das2.datum.DatumVector
[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]

## getXSlice

getXSlice( int i ) → org.das2.dataset.VectorDataSet

### Parameters

i - an int

### Returns:

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

## getYLength

getYLength( int table ) → int

### Parameters

table - an int

### Returns:

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

## getYSlice

getYSlice( int j, int table ) → org.das2.dataset.VectorDataSet

### Parameters

j - an int
table - an int

### Returns:

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

## getYTagDatum

getYTagDatum( int table, int j ) → Datum

### Parameters

table - an int
j - an int

### Returns:

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

## getYTagDouble

getYTagDouble( int table, int j, Units units ) → double

### Parameters

table - an int
j - an int
units - an Units

### Returns:

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

## getYTagInt

getYTagInt( int table, int j, Units units ) → int

### Parameters

table - an int
j - an int
units - an Units

### Returns:

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

## getYTags

getYTags( int table ) → org.das2.datum.DatumVector

### Parameters

table - an int

### Returns:

org.das2.datum.DatumVector
[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]

## getZUnits

getZUnits( ) → Units

### Returns:

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

## tableCount

tableCount( ) → int

### Returns:

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

## tableEnd

tableEnd( int table ) → int

### Parameters

table - an int

### Returns:

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

## tableOfIndex

tableOfIndex( int i ) → int

### Parameters

i - an int

### Returns:

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

## tableStart

tableStart( int table ) → int

### Parameters

table - an int

### Returns:

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