Question about scientific calculations in Python

Martin Kaufmann martinkaufmann at yahoo.com
Tue Mar 12 17:16:15 EST 2002


On Tue, 12 Mar 2002 14:15:39 +0100, Siegfried Gonzi
<siegfried.gonzi at kfunigraz.ac.at> wrote:

>Projecting this experience to Python. I would assume (but without any
>detailed study) that Python in  combination with the numeric library
>will serve you very well. But it depends whether you can use a
>straightforward algorithm (like the FFT) or you must solve your own
>integral.


See my other post containing the code. There is no integral...

>> Are there any libraries or other resources that would help? I used the
>> Scientific Python library for the histogram but it was much slower
>> than my DIY approach.
>
>How much slower? A performance penalty of 100 would be of great concern;
>a factor of 5 should not mind you (but this is my personal view). Okay,
>if you have to wait in C or C++ 1 hour then even a factor of 5 is
>somewhat bothersome.

Even a factor of 5 is not really nice if you have to run it for
several hundred times...

Regards,

Martin




More information about the Python-list mailing list