[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Exporting 2d arrays
From: |
Marcus Müller |
Subject: |
Re: Exporting 2d arrays |
Date: |
Fri, 24 Apr 2020 07:55:28 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 |
Hi Artur,
does "variable" mean the size is set by the user once and doesn't change
during runtime, or does it mean that the same block outputs matrices of
different length?
Another way of thinking about this would be:
Is this a block that really produces a _stream of identical items_ or is
it rather a block that produces _messages of different content_?
Best regards,
Marcus
On 23/04/2020 17.43, Artur Nogueira wrote:
Hi all,
I'm using the Python Block for signal processing and I need to export a
matrix for further Fourier analysis.
I think I can 'slice' this matrix into several lines (or columns) and
store each of them in an 1-d output_items[i][:] variable,
i=1,2...,number of lines (or columns).
But considering that the number of lines is user-defined (i.e. it can be
large and variable), it would be unpractical to deal with the Python
Block outputs.
Do you have a suggestion for this?
Is it possible to export a 2-d array into a single Python Block output?
Best regards,
Artur
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
Livre de vírus. www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>.
<#m_7329815989545016753_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
smime.p7s
Description: S/MIME Cryptographic Signature