[SciPy-User] [SciPy-user] difference between different mean()s

Max Shron max.shron at gmail.com
Thu Sep 10 13:36:13 EDT 2009


Can you show us a minimal example where you get different behavior? I'm
getting the same result for simple 2d arrays like
x = arange(100)
x.shape = (10,10)
scipy.ndimage,mean(x)
-> 49.5
np.mean(x)
-> 49.5

Max

On Thu, Sep 10, 2009 at 8:43 AM, n.l.o <magnusp at astro.su.se> wrote:

>
> Hello
>
> I was wondering what the difference is between numpy.mean() and the
> scipy.ndimage.mean() method?
>
> I get different answers.
>
> Also is there a difference in using the different std() and median() method
> etc.?
>
> I am applying the methods on 2-D arrays.
>
> Cheers
> Magnus
> --
> View this message in context:
> http://www.nabble.com/difference-between-different-mean%28%29s-tp25383547p25383547.html
> Sent from the Scipy-User mailing list archive at Nabble.com.
>
> _______________________________________________
> SciPy-User mailing list
> SciPy-User at scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20090910/25641dba/attachment.html>


More information about the SciPy-User mailing list