This is an extension of #239
I added a commit that strengthens the existing test, and adds tests for more of the affected functions.
There are two API enhancements in this PR:
This API looks reasonable to me. If there are no objections, I'd like to get this into 0.13.
ENH: expose control truncation of ndimage.gaussian_filter().
This change gives the user control over the size at which the Gaussian filter is truncated,
with default behavior to truncate at 4 standard deviations (the previous fixed value).
ENH: Pass extra keyword arguments to gaussian_laplace() and gaussian_…
…gradient_magnitude() to gaussian_filter()
This change allows control over the truncation radius of the gaussian filter used in
gaussian_laplace() and gaussian_gradient_magnitude().
TST: ndimage: add more tests in test_gaussian_truncate()
@roderikk is probably interested in this too, since he created the original patch.
Looks good to me.
LGTM too, merged.