returns a dataset containing the indeces of where the dataset is non-zero. For a rank 1 dataset, returns a rank 1 dataset with indeces for the values. For a higher rank dataset, returns a rank 2 qube dataset with ds.rank() elements in the first dimension. Note when the dataset is all zeros (false), the result is a zero-length array, as opposed to IDL which would return a -1 scalar. Note fill values are not included in the list, so it is not necessary that where(A).length + where(not A).length != where( A.or(not(A) ).length Note this is different from the SciPy "where" and similar to Matlab "find."
return a dataset for the given filter type. The result will be rank 1 and length len.
return non-zero where the data in ds are within the bounds. In Jython,
Note, before March 2, 2015, this would incorrectly return the where of the result.print within( [0,1,2,3,4], '2 to 4' ) --> [ 0,0,1,1,0 ] print within( ttag, 'orbit:rbspa-pp:172' )
return non-zero where the data in ds are outside of the bounds. In Jython,
Note if bounds contain fill, then everything is fill.print without( [0,1,2,3,4], '2 to 4' ) --> [ 1,1,0,0,1 ] print without( ttag, 'orbit:rbspa-pp:172' )