[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss-gnuradio] Trouble with gr_costas_loop_cc
From: |
wxwize |
Subject: |
[Discuss-gnuradio] Trouble with gr_costas_loop_cc |
Date: |
Wed, 16 Aug 2006 01:24:42 +0800 |
Hello,
I am working on demodulating a BPSK signal (a manchester coded stream of
pseudorandom bits.) I'd like to use a gr_costas_loop_cc block to recover the
carrier. However, when I try to create the block with all five args (alpha,
beta, max_freq, min_freq, and ref_phase) as floats, python returns the
following:
" TypeError: argument number 5: a 'long' is expected, 'float(0.1)' is received "
where 0.1 is the value assigned to ref_phase, the fifth parameter.
If I make ref_phase=0, then the error returned by python is:
" RuntimeError: std::invalid_argument "
In both cases, error appears to originate from costas_loop_cc in
gnuradio_swig_python.py. Source code for gr_costas_loop_cc indicates that it
definately wants all floats, so why is expecting a long for the fifth parameter?
Any feedback on this would be greatly appreciated!
Best regards,
Jon
--
This message was sent on behalf of address@hidden at openSubscriber.com
http://www.opensubscriber.com/messages/address@hidden/topic.html
- [Discuss-gnuradio] Trouble with gr_costas_loop_cc,
wxwize <=