[SciPy-user] maximum_filter1d size parameter

josef.pktd@gmai... josef.pktd@gmai...
Sun Mar 8 19:04:47 CDT 2009

On Sun, Mar 8, 2009 at 6:25 PM, Rick Giuly <rgiuly@gmail.com> wrote:
> Thanks Josef, that explains it. What I will probably do is use a size
> twice as large as the number of rows.
> -Rick

But then you are just replacing the elements of the array by the
column max. If that is your intention, then you could replace it
directly: a[:,:] = a.max(0)


More information about the SciPy-user mailing list