[SciPy-User] Bottleneck 0.4.1
Tue Mar 8 20:06:05 CST 2011
On Tue, Mar 8, 2011 at 6:07 PM, Keith Goodman <firstname.lastname@example.org> wrote:
> On Tue, Mar 8, 2011 at 1:19 PM, Keith Goodman <email@example.com> wrote:
>> Bottleneck is a collection of fast NumPy array functions written in
>> Cython. It contains functions like median, nanmedian, nanargmax,
>> This is a bug fix release.
>> The low-level functions nanstd_3d_int32_axis1 and
>> nanstd_3d_int64_axis1, called by bottleneck.nanstd(), wrote beyond the
>> memory owned by the output array if both arr.shape == 0 and
>> arr.shape > arr.shape, where arr is the input array.
>> Thanks to Christoph Gohlke for finding an example to demonstrate the bug.
> How embarrassing! The same bug in nanstd() that was fixed in 0.4.1
> exists in nanvar(). Thank you, Christoph, for pointing that out. Fixed
> in Bottleneck 0.4.2.
>> mailing list
>> mailing list 2
> SciPy-User mailing list
Any interest adding a "min_periods" argument to the moving window
functions in bottleneck?
It would introduce some additional CPU cycles into the existing
functions of course, but there are many practical applications (e.g.
smoothing slightly patchy data) where you want it.
One random question. Any idea on the long import time:
$ time python -c "import bottleneck"
$ time python -c "import numpy"
$ time python -c "import scipy"
More information about the SciPy-User