[Scipy-tickets] [SciPy] #90: Statistics Review: threshold

SciPy scipy-tickets at scipy.net
Sat Sep 30 18:56:08 CDT 2006


#90: Statistics Review: threshold
-------------------------+--------------------------------------------------
 Reporter:  rkern        |        Owner:  rkern                   
     Type:  review       |       Status:  assigned                
 Priority:  normal       |    Milestone:  Statistics Review Months
Component:  scipy.stats  |      Version:  devel                   
 Severity:  normal       |   Resolution:                          
 Keywords:               |  
-------------------------+--------------------------------------------------
Old description:

> The function {{{threshold}}} in file source:trunk/Lib/stats/stats.py
> needs review.
>
> Please look over the StatisticsReview guidelines and add your comments
> below.

New description:

 The function {{{threshold}}} in file source:trunk/Lib/stats/stats.py needs
 review.

 Please look over the StatisticsReview guidelines and add your comments
 below.

Comment (by stefan):

 I changed the docstring to use the words "less than" and "greater than"
 instead of the symbols (more readable, IMO).  Added a test.  The function
 made use of 'where', which I changed to use array indexing (the code is
 not as pretty, but it is roughly twice as fast).

 Thought on the side: maybe I should also implement automated binary
 threshold.

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


More information about the Scipy-tickets mailing list