discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] profiling the waterfall


From: David Carr
Subject: Re: [Discuss-gnuradio] profiling the waterfall
Date: Wed, 09 Mar 2005 16:03:41 -0600
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041227 MultiZilla/1.6.4.0b

I spent some more time on the waterfall display. Basically it runs about 6x faster now. Major gains were had from precomputing the pens at startup and from removing unecessary code in the main loop. A side effect of these changes is that the display can have an arbitrary mapping of value->color with no performance penalty.

There is still a bit of room for improvement, though. We still need some sort of AGC or autoscaling. Right now the range is simply fixed. Also, performance could be further increased and some new features such as window scaling could be added.

The new code is attached: (sorry if its a bad idea to send over the list)
-David Carr

Attachment: waterfallsink.py
Description: application/python


reply via email to

[Prev in Thread] Current Thread [Next in Thread]