org.das2.dataset.TableUtil

TableUtil( )


checkForNaN

checkForNaN( org.das2.dataset.TableDataSet tds ) → void

Parameters

tds - a TableDataSet

Returns:

void (returns nothing)

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


closestDatum

closestDatum( org.das2.dataset.TableDataSet table, Datum x, Datum y ) → Datum

Parameters

table - a TableDataSet
x - a Datum
y - a Datum

Returns:

org.das2.datum.Datum

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


closestRow

closestRow( org.das2.dataset.TableDataSet table, int itable, Datum datum ) → int

Parameters

table - a TableDataSet
itable - an int
datum - a Datum

Returns:

int

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

closestRow( org.das2.dataset.TableDataSet table, int itable, double x, Units units ) → int

collapse

collapse( org.das2.dataset.TableDataSet ds, int offset, int length ) → VectorDataSet

Parameters

ds - a TableDataSet
offset - an int
length - an int

Returns:

org.das2.dataset.VectorDataSet

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


dumpToAsciiStream

dumpToAsciiStream( org.das2.dataset.TableDataSet tds, Datum xmin, Datum xmax, java.io.OutputStream out ) → void

Parameters

tds - a TableDataSet
xmin - a Datum
xmax - a Datum
out - an OutputStream

Returns:

void (returns nothing)

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

dumpToAsciiStream( org.das2.dataset.TableDataSet tds, java.io.OutputStream out ) → void
dumpToAsciiStream( org.das2.dataset.TableDataSet tds, java.nio.channels.WritableByteChannel out ) → void

dumpToBinaryStream

dumpToBinaryStream( org.das2.dataset.TableDataSet tds, java.io.OutputStream out ) → void

Parameters

tds - a TableDataSet
out - an OutputStream

Returns:

void (returns nothing)

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


dumpToDas2Stream

dumpToDas2Stream( QDataSet tds, java.nio.channels.WritableByteChannel out, boolean asciiTransferTypes, boolean sendStreamDescriptor ) → void

Write das2stream directly from QDataSet.

Parameters

tds - rank 2 table or rank 3 join of tables.
out - output channel which will receive the stream.
asciiTransferTypes - if true then use ascii to transfer data.
sendStreamDescriptor - if true send the stream header, if false don't output it.

Returns:

void (returns nothing)

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

dumpToDas2Stream( org.das2.dataset.TableDataSet tds, java.nio.channels.WritableByteChannel out, boolean asciiTransferTypes, boolean sendStreamDescriptor ) → void

getDatumVector

getDatumVector( org.das2.dataset.TableDataSet tds, int i ) → DatumVector

Parameters

tds - a TableDataSet
i - an int

Returns:

org.das2.datum.DatumVector

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


getLargestYTag

getLargestYTag( org.das2.dataset.TableDataSet tds ) → Datum

Parameters

tds - a TableDataSet

Returns:

org.das2.datum.Datum

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


getNextRow

getNextRow( org.das2.dataset.TableDataSet ds, int itable, Datum datum ) → int

return the first row after the datum. Handles mono decreasing.

Parameters

ds - a TableDataSet
itable - an int
datum - a Datum

Returns:

the row which is greater than or equal to the datum

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


getPreviousRow

getPreviousRow( org.das2.dataset.TableDataSet ds, int itable, Datum datum ) → int

return the first row before the datum. Handles mono decreasing.

Parameters

ds - a TableDataSet
itable - an int
datum - a Datum

Returns:

the row which is less than or equal to the datum

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


getSmallestYTag

getSmallestYTag( org.das2.dataset.TableDataSet tds ) → Datum

Parameters

tds - a TableDataSet

Returns:

org.das2.datum.Datum

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


getYTagArrayDouble

getYTagArrayDouble( org.das2.dataset.TableDataSet table, int itable, Units units ) → double

Parameters

table - a TableDataSet
itable - an int
units - an Units

Returns:

double[]

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


getYTagsDatumVector

getYTagsDatumVector( org.das2.dataset.TableDataSet tds, int itable ) → DatumVector

Parameters

tds - a TableDataSet
itable - an int

Returns:

org.das2.datum.DatumVector

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


guessYTagWidth

guessYTagWidth( org.das2.dataset.TableDataSet table ) → Datum

Parameters

table - a TableDataSet

Returns:

org.das2.datum.Datum

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

guessYTagWidth( org.das2.dataset.TableDataSet table, int itable ) → Datum

tableIndexAt

tableIndexAt( org.das2.dataset.TableDataSet table, int i ) → int

Parameters

table - a TableDataSet
i - an int

Returns:

int

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


tableMax

tableMax( org.das2.dataset.TableDataSet tds, Units units ) → double

Parameters

tds - a TableDataSet
units - an Units

Returns:

double

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


toString

toString( org.das2.dataset.TableDataSet tds ) → String

Parameters

tds - a TableDataSet

Returns:

java.lang.String

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