[Numpy-discussion] subsampling array without loops
Pierre GM
pgmdevlist at gmail.com
Mon Aug 25 14:32:01 EDT 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"
> below.
Catherine,
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
mailing list