org.das2.qds.WeightsDataSet

Provide consistent valid logic to operators by providing a QDataSet with 1.0 where the data is valid, and 0.0 where the data is invalid. VALID_MIN, VALID_MAX and FILL_VALUE properties are used. Note, when FILL_VALUE is not specified, -1e31 is used. This is to support legacy logic. The property FILL_VALUE is no longer set to the fill value used. https://sourceforge.net/p/autoplot/bugs/1458/ SUGGEST_FILL will be set in the properties.


PROP_SUGGEST_FILL

the fill value from the original dataset. TODO: We really need a justification of this. I suspect this was because you wouldn't know what values would "fit" into the result, for example, you don't want to suggest 1e38 if IDataSet is the implementation. However, I think the fill value used really depends on a number of things and it's difficult to preserve the value safely.


applyRules

applyRules( QDataSet src, QDataSet v ) → QDataSet

applies the rules from src to dataset v, returning an array of 0 or non-zero.

Parameters

src -
v -

Returns:

org.das2.qds.QDataSet

search for examples view on GitHub view source


capability

capability( java.lang.Class clazz ) → Object

Returns:

java.lang.Object

search for examples view on GitHub view source


slice

slice( int i ) → QDataSet

Returns:

org.das2.qds.QDataSet

search for examples view on GitHub view source


svalue

svalue( ) → String

Returns:

java.lang.String

search for examples view on GitHub view source


trim

trim( int start, int end ) → QDataSet

Returns:

org.das2.qds.QDataSet

search for examples view on GitHub view source