According to the code, the maximum value in the pattern determines the
number of inputs. For example, if the pattern is 0,1,2,3,3,2,2,1 then there
will be 4 inputs. Samples will be pulled from the inputs in the specified
order.

On Mon, Aug 17, 2020 at 2:33 PM lannan jiang <[email protected]> wrote:

> Hi again,
>
>    I took a look at the pattern interleaver, but I have a question
> regarding the input of a patterned interleaver.
>   The documentation says that the pattern property is the vector that
> represents the interleaving pattern, but I am confused with this because if
> I change the vector pattern the number of inputs change also?
>   I am unsure how to use this block properly.
>   My question may be rudimentary, but could anyone please explain?
>
>   Best regards,
>   Lannan
>
> > On Aug 17, 2020, at 12:45 PM, lannan jiang <[email protected]> wrote:
> >
> >
> > Hi Marcus,
> >    Thank you! I’ll look into that.
> >
> > Regards,
> > Lannan
> >
> >> On Aug 17, 2020, at 12:36 PM, Marcus Müller <[email protected]>
> wrote:
> >>
> >> Sounds to me like you're looking for the patterned interleaver rather
> >> than writing your own block, possibly :)
> >>
> >> On 17.08.20 15:29, lannan jiang wrote:
> >>> Hi everyone,
> >>> I want to use the embedded python block to do this:
> >>>     - I have some source data bytes, and now I want to transmit a
> sequence of bytes before the data.
> >>>       - I am thinking that the basic block is what I can use to
> achieve this.
> >>>
> >>> However, I looked up other people’s questions regarding basic blocks
> in the archive, i wonder if there are better examples that include
> forecast() and general_work() functions that I could look at?
> >>>
> >>> Any suggestions will be appreciated!
> >>>
> >>> Thank you
> >>>
> >>> Sincerely,
> >>> Lannan Jiang
> >>>
> >>
> >
>
>

Reply via email to