Giter Site home page Giter Site logo

clock-recovery's Issues

wcpr crashes on Arch Linux

Traceback (most recent call last):
  File "./wpcr.py", line 94, in <module>
    symbols=wpcr(samples)
  File "./wpcr.py", line 43, in wpcr
    d = numpy.diff(b)**2
  File "/usr/lib/python2.7/site-packages/numpy/lib/function_base.py", line 1926, in diff
    return a[slice1]-a[slice2]
TypeError: numpy boolean subtract, the `-` operator, is deprecated, use the bitwise_xor, the `^` operator, or the logical_xor function instead.

Looks like there are issues within the following construct because d has not the right types for the subtraction in numpy.diff() (boolean instead of numerical).

b = a > midpoint(a)
d = numpy.diff(b)**2

Recovery without a preamble

First, thanks for this tool and the corresponding talk!
I guess I’m exactly the person you’re talking about, too little radio experience and completely thrown back by the scariness of the Gnuradio clock recovery blocks, which I guess wouldn’t work in my case anyways.

I’ve got this frequency modulated signal:
image
image

The base/modulation frequency seems to be 9.8kHz and the symbol rate 480Hz, thus the signal is clearly visible already in the FFT plot.
Your tool is usually doing a good job at recovering the symbol rate, but it’s also outputting gibberish data for the flatline part before the actual data starts.

Any advise on how to handle this?
I guess I could do some numpy magic to detect when the actual data starts, but I wonder if there’s a smarter way.

Thank you!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.