Median element by element

Paolo Zaffino <[email protected]>
Newsgroups gmane.comp.python.scientific.user
Message-ID <[email protected]>
Hi all,
if I have n 3D matixes with the same shape, is it possible to obtain a 
new 3D matrix containing the median values computed element by element 
across all the n inputs?
Of course I could run a series of for cycles, but I definitely prefer a 
pythonitic way of doing that.

Thanks a lot in advance.

Paolo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.