{"action":"created","issue":{"url":"https://api.github.com/repos/kpreid/radio-wishlist/issues/9","labels_url":"https://api.github.com/repos/kpreid/radio-wishlist/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/kpreid/radio-wishlist/issues/9/comments","events_url":"https://api.github.com/repos/kpreid/radio-wishlist/issues/9/events","html_url":"https://github.com/kpreid/radio-wishlist/issues/9","id":113188401,"number":9,"title":"Generic calibration tool (ppm offset calculator)","user":{"login":"ckuethe","id":1131751,"avatar_url":"https://avatars.githubusercontent.com/u/1131751?v=3","gravatar_id":"","url":"https://api.github.com/users/ckuethe","html_url":"https://github.com/ckuethe","followers_url":"https://api.github.com/users/ckuethe/followers","following_url":"https://api.github.com/users/ckuethe/following{/other_user}","gists_url":"https://api.github.com/users/ckuethe/gists{/gist_id}","starred_url":"https://api.github.com/users/ckuethe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ckuethe/subscriptions","organizations_url":"https://api.github.com/users/ckuethe/orgs","repos_url":"https://api.github.com/users/ckuethe/repos","events_url":"https://api.github.com/users/ckuethe/events{/privacy}","received_events_url":"https://api.github.com/users/ckuethe/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-24T22:34:25Z","updated_at":"2015-10-25T00:16:40Z","closed_at":null,"body":"Someone should look at writing a tool to unify all the different versions of kalibrate, probably using gr-osmosdr. Also, if there are some other known stations similar to NOAA WX, those could be added for a lighter weight rough calibration."},"comment":{"url":"https://api.github.com/repos/kpreid/radio-wishlist/issues/comments/150874873","html_url":"https://github.com/kpreid/radio-wishlist/issues/9#issuecomment-150874873","issue_url":"https://api.github.com/repos/kpreid/radio-wishlist/issues/9","id":150874873,"user":{"login":"kpreid","id":779501,"avatar_url":"https://avatars.githubusercontent.com/u/779501?v=3","gravatar_id":"","url":"https://api.github.com/users/kpreid","html_url":"https://github.com/kpreid","followers_url":"https://api.github.com/users/kpreid/followers","following_url":"https://api.github.com/users/kpreid/following{/other_user}","gists_url":"https://api.github.com/users/kpreid/gists{/gist_id}","starred_url":"https://api.github.com/users/kpreid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kpreid/subscriptions","organizations_url":"https://api.github.com/users/kpreid/orgs","repos_url":"https://api.github.com/users/kpreid/repos","events_url":"https://api.github.com/users/kpreid/events{/privacy}","received_events_url":"https://api.github.com/users/kpreid/received_events","type":"User","site_admin":false},"created_at":"2015-10-25T00:16:40Z","updated_at":"2015-10-25T00:16:40Z","body":"I've been thinking of this as a possible _application_ feature, because the clock drift can change with temperature and therefore at runtime. So I'd like to see this as a library (GR block) that doesn't claim the device itself. A possible design:\r\n\r\nInputs:\r\n* IQ signal (GR block input)\r\n* expected absolute frequency (settable parameter)\r\n* frequency offset/tuning of input signal (settable parameter) (provided separately for convenience)\r\n* current PPM (needed to get the correction exactly right, though that's second-order and maybe not worth doing)\r\n\r\nOutputs:\r\n* corrected PPM (readable parameter)\r\n\r\nNote that the signal processing is really kind of trivial — measure the frequency and low-pass filter it. (Though maybe there's some subtleties I'm missing as I haven't looked at what kalibrate actually does.) So most of the above is just sugar to make it easy to use (not getting the math wrong)."}}