[Numpy-discussion] 2D Hamming window

Gary Ruben gruben@bigpond.net...
Sun Jul 27 05:32:07 CDT 2008

Henrik Ronellenfitsch wrote:
> Thanks very much for your solution, this is exactly what I needed!
> If I'm not mistaken, though, you can achieve the same result with
> h = hamming(n)
> ham2d = sqrt(outer(h,h))
> which is a bit more compact.
> Regards,
> Henrik

Yes, that's nicer.


More information about the Numpy-discussion mailing list