[Numpy-discussion] Rasterizing points onto an array

Thomas Robitaille thomas.robitaille at gmail.com
Mon Jun 1 15:02:38 EDT 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