Tabulation of a 2D wave subrange
rhjpires
In working with 2D waves I would like to tabulate only a range of values found within a given 2D wave.
Edit
does not seem to allow display of ranges, nor hiding of columns or rows.I wonder how to go about that. All options I can think off require a bit of cut and stitching, such as using
duplicate
, splitwave
and concatenate
.I am not sure how
Extract
would work, since the expression to be logically evaluated would required indicating multiple ranges in both dimensions.But since I only really need is a table, and I would like to avoid clustering with otherwise unnecessary waves, I was wondering if there could be a smarter way to do this, not so convoluted.
Cheers,
R.
imagestats
, which is similar to wavestats but handles multidimensional waves and subranges. See imagestat's /G flag as well as its /R flag, which allows you to specify a subrange with an ROI (region of interest).In case you need to do a calculation that imagestats doesn't handle,
MatrixOp
provides a more general way to work with subranges from multidimensional waves. See for example its "subRange" function.February 19, 2018 at 11:20 am - Permalink
ModifyTable
. Perhaps along with resizing the window and table dimensions, you could limit the table to the range of interest. The user could scroll away from this region of interest, unless there's a way to lock the table in position. (I'm not sure that there is.) It may be that making a duplicate of the region of interest, with the operations you mentioned or Matrixop, is the simplest way forward.February 19, 2018 at 11:34 am - Permalink
It has been some time since I last looked at my code, and totally forgot about MatrixOP as I did not use it so often.
So yes, MatrixOP seems to be a good way to go!
Cheers,
R.
February 19, 2018 at 03:13 pm - Permalink