mossmann / clock-recovery Goto Github PK
View Code? Open in Web Editor NEWclock recovery experiments
License: MIT License
clock recovery experiments
License: MIT License
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:
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!
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.