[Numpy-discussion] subsampling array without loops
Mon Aug 25 13:32:01 CDT 2008
On Monday 25 August 2008 14:29:49 Catherine Moroney wrote:
> This almost works. Is there a way to do some masking on tiles, for
> instance taking the maximum height of each 2x2 square that is an
> odd number? I've tried playing around with masking and where, but
> they don't return an array of the original size and shape of "tiles"
Sorry, I'm not following you: what were you *actually* doing with masking and
where ? A short, self-contained example would be great.
More information about the Numpy-discussion