[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] doubt about forecast function usage
From: |
Martin Braun (CEL) |
Subject: |
Re: [Discuss-gnuradio] doubt about forecast function usage |
Date: |
Mon, 27 May 2013 13:47:55 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Mon, May 27, 2013 at 12:14:11PM +0200, Nemanja Savic wrote:
> In which way should I use forecast function if the number of output items
> isn't
> anyhow related to the number of input items. The relationship is more
> qualitative than quantitative. For example number of output elements depends
> on
> whether there is certain power inside the input strea, or similar.
It doesn't really matter, because you're using a gr::block and
therefore, you can always check both ninputitems and noutputitems.
If you have a certain ratio when outputting, use that. At least, that
will ensure enough space in the output buffer when you actually do have
something going through the block.
MB
--
Karlsruhe Institute of Technology (KIT)
Communications Engineering Lab (CEL)
Dipl.-Ing. Martin Braun
Research Associate
Kaiserstraße 12
Building 05.01
76131 Karlsruhe
Phone: +49 721 608-43790
Fax: +49 721 608-46071
www.cel.kit.edu
KIT -- University of the State of Baden-Württemberg and
National Laboratory of the Helmholtz Association
pgp3E7MYauOHB.pgp
Description: PGP signature