[Numpy-discussion] Rasterizing points onto an array

Thomas Robitaille thomas.robitaille@gmail....
Mon Jun 1 14:02:38 CDT 2009



Nathan Bell-4 wrote:
> 
> image = np.histogram2d(x, y, bins=bins, weights=z)[0]
> 

This works great - thanks!

Thomas
-- 
View this message in context: http://www.nabble.com/Rasterizing-points-onto-an-array-tp23808494p23820216.html
Sent from the Numpy-discussion mailing list archive at Nabble.com.



More information about the Numpy-discussion mailing list