I will try and dig a bit more in the literature, maybe I find something. Hanno On Jun 25, 2007, at 4:59 PM, Timothy Hochberg wrote:
On 6/25/07, Hanno Klemm < klemm@phys.ethz.ch> wrote:
Tim,
Thank you very much, the code does what's it expected to do. Unfortunately the thing is still pretty slow on large data sets. This does seem like the kind of thing that there should be a faster way to compute, particularly since you are binning the results up. One approach would be to just bin the data before doing the computation, however, that loses a lot of accuracy. It does seem like there should be some moment-like approach that would allow you to bin the data before you do the computation, computing the first and second moments, or something similar and then computing the results from the binned moments. I don't know that that would work -- it's just a vague hunch. I don't know if I'll have time to try it out, but I thought I would mention it.
Your welcome, I hope this helps some.
Regards,
-- . __ . |-\ . . tim.hochberg@ieee.org
[SNIP]
_______________________________________________ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion
-- Hanno Klemm hanno.klemm@xs4all.nl http://www.mth.kcl.ac.uk/~klemm