discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: complex numbers in GRC missing documentation?


From: Marcus D. Leech
Subject: Re: complex numbers in GRC missing documentation?
Date: Thu, 21 Oct 2021 15:28:18 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0

On 2021-10-21 3:21 p.m., Aardric wrote:
Hail,
    I'm surprised that I haven't encountered this before but I am unable
to enter a complex number in a GRC field for example the "Signal Source"
block (gr version: 3.9.3). There doesn't appear to be documentation, at
least in an obvious place.
Entering (0.5,0.5) in the complex offset field yields:
Param - Offset(offset):
        Expression (0.5, 0.5) is invalid for type 'complex'.

A single float value offsets I but not Q.

I apologize if I have missed something totally obvious.
BTW: the documentation is improving nicely over time; my compliments to
the contributors.

Rick



They are necessarily Python expressions, so

complex(real,imag)

or

1.0+0j

Etc




reply via email to

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