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
import numpy as np | |
import sionna as sn | |
import tensorflow as tf | |
### | |
# System params | |
BATCH_SIZE = 1 | |
q_mod = 2 # QPSK |
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
#!/usr/bin/env python3 | |
# Installing CVC4's python bindings is a PITA, so we use the | |
# pysmt wrapper instead. | |
# Enum/Sum types not yet supported... | |
# https://github.com/pysmt/pysmt/issues/187 | |
# https://github.com/pysmt/pysmt/issues/538 | |
# This program is based on: |
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
sepal_length | sepal_width | petal_length | petal_width | variety | |
---|---|---|---|---|---|
5.1 | 3.5 | 1.4 | .2 | Setosa | |
4.9 | 3 | 1.4 | .2 | Setosa | |
4.7 | 3.2 | 1.3 | .2 | Setosa | |
4.6 | 3.1 | 1.5 | .2 | Setosa | |
5 | 3.6 | 1.4 | .2 | Setosa | |
5.4 | 3.9 | 1.7 | .4 | Setosa | |
4.6 | 3.4 | 1.4 | .3 | Setosa | |
5 | 3.4 | 1.5 | .2 | Setosa | |
4.4 | 2.9 | 1.4 | .2 | Setosa |
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
... | |
-- ###################################################### | |
-- # Gnuradio enabled components | |
-- ###################################################### | |
-- * testing-support | |
-- * python-support | |
-- * post-install | |
-- * man-pages | |
-- * gnuradio-runtime |
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
import numpy as np | |
import itertools | |
def gen_valid_orientations_data(): | |
# Out of all 48 choices, half of them result in a right-handed system (right is right [in this context...]) | |
# and the other half results in a left-handed system (wrong). | |
# We check this via cross product: Z axis should have the same orientation as X cross Y. | |
# | |
# We only keep right-handed ones. |
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
$ sudo lsusb -v -d 1209:5af0 | |
Bus 003 Device 008: ID 1209:5af0 Generic OrangeCrab r0.2 DFU Bootloader v3.1-6-g62e92e2 | |
Device Descriptor: | |
bLength 18 | |
bDescriptorType 1 | |
bcdUSB 2.01 | |
bDeviceClass 239 Miscellaneous Device | |
bDeviceSubClass 2 | |
bDeviceProtocol 1 Interface Association |
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
#!/usr/bin/env python3 | |
import functools | |
import numpy as np | |
USE_EXAMPLE = False | |
example_data = '''\ | |
1163751742 | |
1381373672 |
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
--- 01_sigmf_core_generated.h 2021-10-17 15:28:31.000000000 +0200 | |
+++ 02_sigmf_core_generated.h 2021-10-17 15:21:32.000000000 +0200 | |
@@ -9,15 +9,19 @@ | |
namespace core { | |
struct Global; | |
+struct GlobalBuilder; | |
struct GlobalT; | |
struct Capture; |
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
# Maintainer: xiretza <xiretza+aur@xiretza.xyz> | |
_pkgname=libsigmf | |
pkgname=$_pkgname-git | |
pkgver=r15.d3e985d | |
pkgrel=1 | |
pkgdesc="A header-only C++ library for working with SigMF metadata" | |
arch=(any) | |
url="https://github.com/deepsig/libsigmf" | |
license=('Apache') | |
depends=() |
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
def euclidean_gcd(a, b): | |
while a != b: | |
if a > b: | |
a -= b | |
else: | |
b -= a | |
return a |
NewerOlder