Code: Alles auswählen
import numpy
from time import clock
values = numpy.random.rand(10000)
t = clock()
means = numpy.convolve(values, numpy.ones(100)/100.0, 'same')
print clock() - t
Code: Alles auswählen
0.00547304196483
Code: Alles auswählen
import numpy
from time import clock
values = numpy.random.rand(10000)
t = clock()
means = numpy.convolve(values, numpy.ones(100)/100.0, 'same')
print clock() - t
Code: Alles auswählen
0.00547304196483
Ich machs mal ganz einfach: PyQt.Würdet ihr PyQt4 oder Tkinter verwenden?