[SciPy-user] mean of arrays...

Gael Varoquaux gael.varoquaux@normalesup....
Thu Sep 6 05:16:10 CDT 2007


On Thu, Sep 06, 2007 at 12:07:21PM +0200, fred wrote:
> I want to compute the element wise mean of 2D or 3D arrays (~100).

Stack all these n-arrays along an n+1 dimension, and use the numpy.mean
function, specifying the axis as n+1.

Gaël


More information about the SciPy-user mailing list