[Top][All Lists]

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

Re: GRC Filter Taps read from file. ( - from source)

From: Marcus D. Leech
Subject: Re: GRC Filter Taps read from file. ( - from source)
Date: Wed, 16 Sep 2020 13:22:36 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0

On 09/16/2020 01:10 PM, David Taylor (manx.net) wrote:
I am trying to import a large number of taps (1023) into a Decimating FIR Filter, in order to repeat (as reference), a GRC experiment that was published about four years ago.
The taps import method used at the time was numpy.genfromtxt(), that much is clear.
I have tried using numpy.fromfile, numpy.genfromtxt and others in the Filter block itself without success and have been looking for possible examples of file import use in the installed /example folders and elsewhere.
The filter taps do however populate directly from a GRC variable python list as real(floats), [1,1, –1, 1,1 ....]
Firdes is operable and the python wrappers for filter design populate the taps in much the same way.
The coefficient values are externally generated complex floats, but can be easily converted into other numeric or delimited text formats, as BPSK coding is being used. This much has been tried.
On a completely unrelated matter, I hope, the Filter Design Tool is inoperative.
I apologise if this is covering old ground again.
David GD4FMB

When you say "without success", what is the nature of the problem?  Filter response doesn't look right, you're getting an exception, etc etc.

Your externally-generated complex-floats--how are they represented in the file?  Do you specify dtype correctly when you read the file in?

reply via email to

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