ne

ne( QDataSet ds1, QDataSet ds2 ) → QDataSet

element-wise not equal test. 1.0 is returned where elements are not equal. Fill is returned where either measurement is invalid.

Parameters

ds1 - a QDataSet
ds2 - a QDataSet

Returns:

a QDataSet

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


ne

ne( Object ds1, Object ds2 ) → QDataSet

element-wise equality test, converting arguments as necessary to like units. These datasets can be nominal data as well.

Parameters

ds1 - an Object
ds2 - an Object

Returns:

a QDataSet

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


negate

negate( QDataSet ds1 ) → QDataSet

return a dataset with each element negated. If units are specified, Units must be ratiometric units, like "5 km" or dimensionless, and not ordinal or time location units.

Parameters

ds1 - a QDataSet

Returns:

a QDataSet

See Also:

copysign
signum


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

negate( Object ds1 ) → QDataSet [view source]

neighborFill

neighborFill( QDataSet ds ) → QDataSet

fill in the missing values by copying nearest data points. All data in the result will be copies of elements found in the result, but no regard is given to how far a point is shifted. This was motivated by supporting fill in median.

Parameters

ds - a QDataSet

Returns:

dataset that does not contain fill.

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


normalize

normalize( QDataSet ds ) → QDataSet

normalize the data so that the max is 1, where we normalize by the biggest value, so that the maximum is one.

Parameters

ds - a QDataSet

Returns:

dataset with the same geometry as ds.

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


normalize

normalize( QDataSet ds, int dim ) → QDataSet

normalize the data so that the max at a row or column is 1, where we have normalized by the biggest value along a dimension. For example, normalize( ds, 1 ) will produce a result where each ds[i,:] will have a max of 1.0.

Parameters

ds - the dataset
dim - the dimension to normalize

Returns:

dataset with the same geometry as ds.

See Also:

reduceMax(QDataSet, int)


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


not

not( QDataSet ds1 ) → QDataSet

element-wise logical not function. non-zero is true, zero is false.

Parameters

ds1 - a QDataSet

Returns:

a QDataSet

See Also:

bitwiseXor(QDataSet, QDataSet)


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

not( Object ds1 ) → QDataSet [view source]