[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Output variables - Python Block
From: |
Derek Kozel |
Subject: |
Re: Output variables - Python Block |
Date: |
Wed, 22 Apr 2020 09:55:14 +0100 |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 |
Hi Artur,
Yes, the Python Block follows the same API as other blocks so the
input/output signatures can be defined as a list.
in_sig = [np.complex64, np.float32, np.float32]
On 22/04/2020 04:09, Artur Nogueira wrote:
Hi all,
Is it possible to make the 'work' function from the Python Block to
export an arbitrary number of variables, with different associated
types? E.g. 3 output variables, 1 being complex64 and the other 2
being float32.
Best regards,
Artur