On Tue, Jan 29, 2013 at 02:00:15PM +0800, Sreeraj Rajendran wrote: > As Josh explained in [1] input can be anything that you can represent as a > numpy data type. > > > Try using something like > > gr.block.__init__(self, name="my block", > > in_sig=[numpy.dtype((numpy.float32,2))], > > out_sig=[numpy.float32]) > > > > Also go through fixed/arbitrary ratio blocks in [2] for implementing blocks > with different rate.
$ gr_modtool -t decimator -l python BLOCKNAME will take you there. M -- 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
pgpvETW6WDb_A.pgp
Description: PGP signature
_______________________________________________ Discuss-gnuradio mailing list [email protected] https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
