org.das2.qds.TailBundleDataSet

create a high rank dataset the last dimension being the bundle. Each dataset must have the same length. Modification History: 2015-10-30: copied from BundleDataSet See https://sourceforge.net/p/autoplot/feature-requests/267/

TailBundleDataSet( int rank )

Creates a new instance of BundleDataSet with the given rank. Rank 1 datasets can bundle rank 0 datasets, while rank 2 can only bundle rank 1 datasets with the same depend_0.

TailBundleDataSet( QDataSet ds )

create a bundle with the first dataset. The result will have rank N+1 where ds has rank N.


bundle

bundle( QDataSet ds ) → void

add the dataset to the bundle of datasets. Currently this implementation only supports rank N-1 datasets (N is this dataset's rank), but the QDataSet spec allows for qube datasets of any rank>1 to be bundled. This limitation will be removed in a future version. (Note QDataSet changes http://autoplot.org/QDataSet#2011-Apr-13)

Parameters

ds - a QDataSet

Returns:

void (returns nothing)

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


length

length( ) → int

Returns:

int

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

length( int i0 ) → int
length( int i0, int i1 ) → int
length( int i0, int i1, int i2 ) → int

property

property( String name, int i0 ) → Object

Parameters

name - a String
i0 - an int

Returns:

java.lang.Object

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


rank

rank( ) → int

Returns:

int

[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]


unbundle

unbundle( int i ) → QDataSet

allow to simply unbundle the dataset.

Parameters

i - the index.

Returns:

the dataset at i.

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


value

value( int i0 ) → double

Parameters

i0 - an int

Returns:

double

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

value( int i0, int i1 ) → double
value( int i0, int i1, int i2 ) → double
value( int i0, int i1, int i2, int i3 ) → double