Re: [Numpy-discussion] Need help with np.ma.median and np.apply_along_axis

2013-12-27 Thread Julian Taylor
On 27.12.2013 10:54, alex wrote: > median is faster in version 1.8 > ___ unfortunately that won't help here because masked median uses apply_along_axis again which is very slow, especially if one wants to calculate thousands of medians of 7 elements as i

Re: [Numpy-discussion] Need help with np.ma.median and np.apply_along_axis

2013-12-27 Thread alex
median is faster in version 1.8 ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion

[Numpy-discussion] Need help with np.ma.median and np.apply_along_axis

2013-12-20 Thread Siegfried Gonzi
Please have a look at version1 and version2. What are my other options here? Do I need to go the cython route here? Thanks, Siegfried == My array is as follows (shown here for dummy values; and yes this kind of arrays do exist: 150 observations x 8 years x 366 days x 24 hours x 7 model level