Decision making and Python/C++ Blocks

Dear all,

I searched the forum but there was no answer for these questions:

  1. for a simple energy detector we have some equations which usually use
    the
    inverse erfc function. when making the the dicision using either
    spectrum_sense.py/usrp_fft.py (which one do you recommend for accuracy
    -for
    large range its the first-?) how can we apply this function (there is no
    module for it)?.

  2. calculating the threshold need some math operations and functions, do
    we
    have to make the C++ file then use swig to make a module for it or we
    just
    can do it using python?? please recommend and why?

best regards,


View this message in context:
http://old.nabble.com/Decision-making-and-Python-C%2B%2B-Blocks-tp27124559p27124559.html
Sent from the GnuRadio mailing list archive at Nabble.com.

The first question I’ve already found the solution, please just advice
for
the second part.

abbasi9999 wrote:

  1. calculating the threshold need some math operations and functions, do
    we have to make the C++ file then use swig to make a module for it or we
    just can do it using python?? please recommend and why?

best regards,


View this message in context:
http://old.nabble.com/Decision-making-and-Python-C%2B%2B-Blocks-tp27124559p27137862.html
Sent from the GnuRadio mailing list archive at Nabble.com.