[Numpy-discussion] Blurring an Array

Robert Kern robert.kern@gmail....
Sun Jun 21 03:34:00 CDT 2009


On Sun, Jun 21, 2009 at 03:31, Ian Mallett <geometrian@gmail.com> wrote:
>
> Sounds like it would work, but unfortunately numpy was one of my dependency constraints.  I should have mentioned that.

In that case, use numpy.roll() instead of slicing to get wraparound.

--
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
 -- Umberto Eco


More information about the Numpy-discussion mailing list