I thought and tried but for some unknown internal reason, I used "i"
rather than "j" this time. I didn't think of "complex(real,imag)").
So, this was trivial and the documentation is adequate.
Thanks.


On 2021-10-21 12:28 p.m., Marcus D. Leech wrote:
> 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