[Scipy-tickets] [SciPy] #1457: scipy.ndimage.measurements.standard_deviation does not work with sequence of indexs

SciPy Trac scipy-tickets@scipy....
Thu Jun 9 08:07:38 CDT 2011


#1457: scipy.ndimage.measurements.standard_deviation does not work with sequence
of indexs
---------------------------+------------------------------------------------
 Reporter:  sofoot         |       Owner:  somebody
     Type:  defect         |      Status:  new     
 Priority:  normal         |   Milestone:          
Component:  scipy.ndimage  |     Version:  0.9.0   
 Keywords:                 |  
---------------------------+------------------------------------------------

Comment(by sofoot):

 A Temporary solution for this problem:

 Change line 408 of measurements.py:

 {{{
 centered_input = input.ravel() - means[labels]
 }}}

 But I'm not sure if this will cause other problems.

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


More information about the Scipy-tickets mailing list