This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from pyqtgraph.Qt import QtCore, QtGui | |
import pyqtgraph as pg | |
import scipy.ndimage as ndi | |
import numpy as np | |
from scipy import signal | |
import bladeRF | |
device = bladeRF.Device() | |
device.rx.config(bladeRF.FORMAT_SC16_Q12, 64, 16384, 16, 3500) | |
device.rx.enabled = True |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// example for synchronous signal processing with czmq/zloop using signalfd(2) | |
// Michael Haberler 1/2014 | |
#include <czmq.h> | |
#include <sys/signalfd.h> | |
int signo; | |
static int s_handle_signal(zloop_t *loop, zmq_pollitem_t *poller, void *arg) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <math.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
double Normal(double); | |
double N(double, double, double, double, double); | |
double delta(double, double, double, double, double); | |
double delta2(double, double, double); | |
double ND2(double, double, double); |