# (no subject)

**URL:** <https://www.ruby-forum.com/t/no-subject/234237>\
**Category:** GNU Radio\
**Created:** [February 18, 2015, 7:54am UTC](https://www.ruby-forum.com/t/no-subject/234237 "2015-02-18T07:54:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![addis\_a](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/c4cdca/32.png) [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Post date:** [February 18, 2015, 7:54am UTC](https://www.ruby-forum.com/t/no-subject/234237/1 "2015-02-18T07:54:46Z")

</div>

sir,…I needed the py code of low pass filter. please any one mail me

---

<div class="post-metadata">

**Author:** ![Vishwanatha\_H\_G](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/f19dbf/32.png) [@Vishwanatha\_H\_G](https://www.ruby-forum.com/u/Vishwanatha_H_G)\
**Post date:** [February 18, 2015, 12:20pm UTC](https://www.ruby-forum.com/t/no-subject/234237/2 "2015-02-18T12:20:22Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Vishwanatha\_H\_G](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/f19dbf/32.png) [@Vishwanatha\_H\_G](https://www.ruby-forum.com/u/Vishwanatha_H_G)\
**Post date:** [February 18, 2015, 4:19pm UTC](https://www.ruby-forum.com/t/no-subject/234237/3 "2015-02-18T16:19:36Z")

</div>

On 02/18/2015 07:53 AM, Vishwanatha H G wrote:

> sir,…I needed the py code of low pass filter. please any one mail me

Also, beside what Marcus said, I recommend reading this page to get the  
most out of this mailing list:

[http://gnuradio.org/redmine/projects/gnuradio/wiki/ReportingErrors](http://gnuradio.org/redmine/projects/gnuradio/wiki/ReportingErrors)

M
