Skip to content

Instantly share code, notes, and snippets.

View daniestevez's full-sized avatar

Daniel Estévez daniestevez

View GitHub Profile
@daniestevez
daniestevez / pcr.txt
Created March 26, 2021 15:32
Falcon-9 TS PCR
------------------------------------------------------------
TS-Packet: 00000001 PID: 511 (0x01ff), Length: 188 (0x00bc)
from file: /tmp/falcon9.ts
------------------------------------------------------------
0000: 47 01 ff 20 b7 10 15 6e e0 40 7e fc ff ff ff ff G.. ...n.@~.....
0010: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
0020: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
0030: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
0040: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
0050: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
@daniestevez
daniestevez / pmt.txt
Created March 26, 2021 15:25
Falcon-9 TS PMT
Sync-Byte 0x47: 71 (0x47)
Transport_error_indicator: 0 (0x00) [= packet ok]
Payload_unit_start_indicator: 1 (0x01) [= Packet data starts]
transport_priority: 0 (0x00)
PID: 32 (0x0020) [= ]
transport_scrambling_control: 0 (0x00) [= No scrambling of TS packet payload]
adaptation_field_control: 1 (0x01) [= no adaptation_field, payload only]
continuity_counter: 15 (0x0f) [= (sequence ok)]
Payload: (len: 184)
==> pointer_field: 0 (0x00)
@daniestevez
daniestevez / pat.txt
Created March 26, 2021 15:22
Falcon-9 TS PAT
Sync-Byte 0x47: 71 (0x47)
Transport_error_indicator: 0 (0x00) [= packet ok]
Payload_unit_start_indicator: 1 (0x01) [= Packet data starts]
transport_priority: 0 (0x00)
PID: 0 (0x0000) [= ISO 13818-1 Program Association Table (PAT)]
transport_scrambling_control: 0 (0x00) [= No scrambling of TS packet payload]
adaptation_field_control: 1 (0x01) [= no adaptation_field, payload only]
continuity_counter: 15 (0x0f) [= (sequence ok)]
Payload: (len: 184)
==> pointer_field: 0 (0x00)
@daniestevez
daniestevez / decode_rs_python.cc
Created January 22, 2021 18:07
decode_rs pybind11 bindings
/*
* Copyright 2021 Free Software Foundation, Inc.
*
* This file is part of GNU Radio
*
* SPDX-License-Identifier: GPL-3.0-or-later
*
*/
/***********************************************************************************/
@daniestevez
daniestevez / README.md
Last active January 13, 2021 20:58
NEXUS 19k2 pi/4-DQPSK recording

This gist contains a recording of the NEXUS 19k2 pi/4-DQPSK signal at 435.900 MHz. The recording was provided by Andy UZ7HO. It uses a sample rate of 96ksps (real; one-channel), and the signal is centred at around 18750 Hz.

@daniestevez
daniestevez / fengyun.grc
Last active November 17, 2020 17:38
FengYun-1D demodulator
options:
parameters:
author: Daniel Estevez
category: '[GRC Hier Blocks]'
cmake_opt: ''
comment: ''
copyright: ''
description: ''
gen_cmake: 'On'
gen_linking: dynamic
@daniestevez
daniestevez / trisat.grc
Created September 4, 2020 15:22
TRISAT WIP flowgraph
options:
parameters:
author: daniel
category: '[GRC Hier Blocks]'
cmake_opt: ''
comment: ''
copyright: ''
description: ''
gen_cmake: 'On'
gen_linking: dynamic
@daniestevez
daniestevez / testqt.py
Created August 17, 2020 06:06
PyQt5 example
import sys
import matplotlib
import socket
matplotlib.use('Qt5Agg')
from PyQt5 import QtCore, QtWidgets
from matplotlib.backends.backend_qt5agg import FigureCanvasQTAgg as FigureCanvas
from matplotlib.figure import Figure
@daniestevez
daniestevez / tianwen1.grc
Created August 8, 2020 08:01
GNU Radio Tianwen-1 decoder for HDSDR_20200807_194352Z_8430927kHz_RF_flt32_001.raw
options:
parameters:
author: Daniel Estevez
category: '[GRC Hier Blocks]'
cmake_opt: ''
comment: ''
copyright: ''
description: ''
gen_cmake: 'On'
gen_linking: dynamic
@daniestevez
daniestevez / debug-output.txt
Created May 3, 2020 15:33
GMAT's delta-range simulation debug output
Moderator is updating data files...
Moderator is creating core engine...
libmx.so: cannot open shared object file: No such file or directory
*** Library "../plugins/libMatlabInterface" did not open.
../plugins/proprietary/libMsise86.so: cannot open shared object file: No such file or directory
*** Library "../plugins/proprietary/libMsise86" did not open.
../plugins/proprietary/libNRLMsise00.so: cannot open shared object file: No such file or directory