|
From: | Marcus Müller |
Subject: | [Discuss-gnuradio] Python Low-pass filters (was: (no subject)) |
Date: | Wed, 18 Feb 2015 12:13:26 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 |
Hello Vishwanatha, the filters in GNU Radio are all written in C++, and the mathematical core functionality is implemented in several versions for different machines in C with a mixture of SIMD intrinsics (read: close-to-assembler instructions), because filtering is often a very computationally expensive part in signal processing and therefore must be optimized heavily to make systems work in real time. However, you can use/construct these filters from python. If you want to see how that would look like, start the gnuradio-companion, connect a "Null Source", a "Low Pass Filter", and a "Null Sink". Parameterize the filter block. Save the file, and click on the "generate" button. You'll see a message in the box at the bottom like 'Generating: "/home/vishwanatha/top_block.py"'. Open that file in a text editor, and look for the lines that contain low_pass. Greetings, Marcus On 02/18/2015 07:53 AM, Vishwanatha H G
wrote:
|
[Prev in Thread] | Current Thread | [Next in Thread] |