Original ticket http://projects.scipy.org/scipy/ticket/1660 on 2012-05-15 by trac user roderikk, assigned to unknown.
Today I noticed that in the source of scipy.ndimage.gaussian_filter1d it says:
# make the length of the filter equal to 4 times the standard
lw = int(4.0 * sd + 0.5)
For my application this is absolutely not enough precision. With a simple modification to both gaussian_filter1d and gaussian_filter we can add a parameter to define the length of the filter. I have attached a patch that does not change the current functionality but does allow users to change the filter length.
Attachment added by trac user roderikk on 2012-05-15: filters.py.diff
@thouis wrote on 2012-06-05
I modified your patch somewhat and submitted a PR: #239
Merged in gh-2767