org.das2.dataset.AverageTableRebinner

DataSetRebinner implementing either bilinear interpolation in blocks of 4 points, or nearest neighbor interpolation by grabbing close points, or no interpolation at all.. Points the land on the same pixel are averaged together.

AverageTableRebinner( )

Creates a new instance of TableAverageRebinner


PROP_CADENCECHECK


PROP_INTERPOLATETYPE


addPropertyChangeListener

addPropertyChangeListener( java.beans.PropertyChangeListener listener ) → void

Parameters

listener - a PropertyChangeListener

Returns:

void (returns nothing)

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


getInterpolateType

getInterpolateType( ) → Interpolate

Returns:

org.das2.dataset.AverageTableRebinner.Interpolate

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


isCadenceCheck

isCadenceCheck( ) → boolean

Returns:

boolean

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


isEnlargePixels

isEnlargePixels( ) → boolean

Returns:

boolean

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


isInterpolate

isInterpolate( ) → boolean

"Interpolate" here simply means connecting the data points.

Returns:

true indicates we should connect the data points.

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


isInterpolateXThenY

isInterpolateXThenY( ) → boolean

Returns:

boolean

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


rebin

rebin( QDataSet ds, org.das2.dataset.RebinDescriptor ddX, org.das2.dataset.RebinDescriptor ddY, org.das2.dataset.RebinDescriptor ddZ ) → QDataSet

rebin the data, using the interpolate control to define the interpolation between measurements. Data that fall into the same pixel are always averaged in the linear space, regardless of interpolation method.

Parameters

ds - rank 2 table or rank 3 join of tables. New: rank 2 bundle of (X,Y,Z)
ddX - a RebinDescriptor
ddY - a RebinDescriptor
ddZ - a RebinDescriptor

Returns:

rank 2 table with one row/column per screen pixel.

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


removePropertyChangeListener

removePropertyChangeListener( java.beans.PropertyChangeListener listener ) → void

Parameters

listener - a PropertyChangeListener

Returns:

void (returns nothing)

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


setCadenceCheck

setCadenceCheck( boolean cadenceCheck ) → void

Parameters

cadenceCheck - a boolean

Returns:

void (returns nothing)

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


setEnlargePixels

setEnlargePixels( boolean enlargePixels ) → void

Parameters

enlargePixels - a boolean

Returns:

void (returns nothing)

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


setInterpolate

setInterpolate( boolean interpolate ) → void

"Interpolate" here simply means connecting the data points.

Parameters

interpolate - true indicates we should connect the data points.

Returns:

void (returns nothing)

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


setInterpolateType

setInterpolateType( org.das2.dataset.AverageTableRebinner.Interpolate interpolateType ) → void

Parameters

interpolateType - an AverageTableRebinner.Interpolate

Returns:

void (returns nothing)

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


setInterpolateXThenY

setInterpolateXThenY( boolean interpolateXThenY ) → void

first interpolate over gaps in X then gaps in Y.

Parameters

interpolateXThenY - a boolean

Returns:

void (returns nothing)

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