[Scipy-tickets] [SciPy] #1660: Precision of scipy.ndimage.gaussian_filter*() limited

SciPy Trac scipy-tickets@scipy....
Tue May 15 04:01:07 CDT 2012


#1660: Precision of scipy.ndimage.gaussian_filter*() limited
---------------------------+------------------------------------------------
 Reporter:  roderikk       |       Owner:  somebody   
     Type:  defect         |      Status:  new        
 Priority:  normal         |   Milestone:  Unscheduled
Component:  scipy.ndimage  |     Version:  0.10.0     
 Keywords:                 |  
---------------------------+------------------------------------------------
 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
     # deviations:
     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.

-- 
Ticket URL: <http://projects.scipy.org/scipy/ticket/1660>
SciPy <http://www.scipy.org>
SciPy is open-source software for mathematics, science, and engineering.


More information about the Scipy-tickets mailing list