Hi all.
I have a 3-d array of booleans (5 x 5 x 1000, say) and would like to
return a 5 x 5 of array slices containing the longest contiguous
sequence of True values along the z axis.
Any tricks that I am missing that will make this easy?
Thanks,
Ben
_
I have a masked array of values that I would like to transform through
a user-defined function. Naturally, I want to ignore any values that
are masked in the initial array.
The user-defined function examines other points around the value in
question, so I need to use ndenumerate (or similar) to g