[SciPy-User] Proposal for a new data analysis toolbox

Sebastian Haase seb.haase at gmail.com
Wed Nov 24 14:32:18 EST 2010


On Wed, Nov 24, 2010 at 8:05 PM, Keith Goodman <kwgoodman at gmail.com> wrote:
> Brief Sphinx doc of whatever it's called can be found here:
> http://berkeleyanalytics.com/dsna

I would like to throw in one of my favorite functions that I
implemented years ago using (templated) SWIG:

mmms()  calculates min,max,mean and standard deviation in one run.
While - by using SWIG function templates - it can handle multiple
dtypes efficiently (without data copy) I never even attempted to
handle striding or axes...
Similiarly mmm()  ( that is minmaxmean() ) might be also good to have,
if one really needs to not waste the (little?!) extra time of
compiling the sum of the squares (for the std.dev).

I you added this kind of function to the new toolbox, I would be happy
to benchmark it against my venerable (simpler) SWIG version...

- Sebastian Haase



More information about the SciPy-User mailing list