Thanks Mo,
quote: I added the "median" and "Mode" option. take a look.
Yes that works brilliantly. On small thing: Mode only works for unimodal arrays, ie it only outputs first occurring mode if there are multiple similar occurrence of numbers within an array. Also it outputs the first number if no mode is found. Solving this is likely more effort than is warranted for an application that will be rarely required. Maybe it would be all-round easier to just remove the "Mode" option.

I have been having a play with your other recent node contributions. I wonder if you could post a demonstration of your Points/CoordinateFrames node in use. I was unable to work out how it functions, and how it might be applied.
In the course of this experimentation I was reminded of a much needed, yet missing functionality for NE. The arrayExt/idxSelect node is supremely useful, but it could be made even more so by having the option to invert the selection. See above.
Say you have an numArray : 6,7,8,9,10 and an index input: 0,2,4 with "Invert Selection" option the output would be: 7,9
And it would operate similarly for points and objects.
Certainly this is a need that arises often, whereas the finding the mode of an array is a rather arcane requirement.
Have a great weekend
James
https://www.instagram.com/nodeology/
|