[Numpy-discussion] Blurring an Array

Robert Kern robert.kern at gmail.com
Sun Jun 21 04:34:00 EDT 2009


On Sun, Jun 21, 2009 at 03:31, Ian Mallett <geometrian at 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