Skip to content

Instantly share code, notes, and snippets.

View daniestevez's full-sized avatar

Daniel Estévez daniestevez

View GitHub Profile
@daniestevez
daniestevez / plot_spectrum.py
Created January 3, 2023 18:19
Plot spectrum of SigMF recordings
#!/usr/bin/env python3
import json
import pathlib
import numpy as np
import matplotlib.pyplot as plt
def main():
@daniestevez
daniestevez / phase_ear.grc
Created November 30, 2022 20:53
Ear phase resonance experiment GNU Radio flowgraph (see https://mastodon.social/@[email protected]/109433771761220909)
options:
parameters:
author: Daniel Estevez
catch_exceptions: 'True'
category: '[GRC Hier Blocks]'
cmake_opt: ''
comment: ''
copyright: ''
description: ''
gen_cmake: 'On'
@daniestevez
daniestevez / ce5.grc
Created November 14, 2022 20:23
Chang'e 5 512 baud demodulator
options:
parameters:
author: Daniel Estevez
catch_exceptions: 'True'
category: '[GRC Hier Blocks]'
cmake_opt: ''
comment: ''
copyright: ''
description: ''
gen_cmake: 'On'
@daniestevez
daniestevez / qpks_trivia.grc
Created October 12, 2022 14:18
QPSK & BPSK DSP Puzzle
options:
parameters:
author: daniel
catch_exceptions: 'True'
category: '[GRC Hier Blocks]'
cmake_opt: ''
comment: ''
copyright: ''
description: ''
gen_cmake: 'On'
@daniestevez
daniestevez / stereo_a_bg2bhc.grc
Created September 24, 2022 18:15
STEREO-A decoder for BG2BHC recordings
options:
parameters:
author: Daniel Estevez
catch_exceptions: 'True'
category: '[GRC Hier Blocks]'
cmake_opt: ''
comment: ''
copyright: ''
description: ''
gen_cmake: 'On'
@daniestevez
daniestevez / qo100_multimedia_beacon.grc
Created May 21, 2022 08:31
QO-100 multimedia beacon GNU Radio decoder flowgraph
options:
parameters:
author: Daniel Estevez
catch_exceptions: 'True'
category: '[GRC Hier Blocks]'
cmake_opt: ''
comment: ''
copyright: ''
description: ''
gen_cmake: 'On'
@daniestevez
daniestevez / extract_voyager.py
Created November 15, 2021 18:36
Extract Voyager 1 signal from GUPPI files
#!/usr/bin/env python3
import argparse
from blimpy import GuppiRaw
def parse_args():
parser = argparse.ArgumentParser(
description='Extract IQ channel for Voyager-1 from GUPPI file')
@daniestevez
daniestevez / binar.grc
Created September 18, 2021 16:36
BINAR-1 work in progress decoder
options:
parameters:
author: daniel
catch_exceptions: 'True'
category: '[GRC Hier Blocks]'
cmake_opt: ''
comment: ''
copyright: ''
description: ''
gen_cmake: 'On'
@daniestevez
daniestevez / gist:2096640d251d4dd59a75774a061367d4
Created July 31, 2021 20:14
Join all observations in CASA
tb.open('observation.ms', nomodify=False)
a = tb.getcol('OBSERVATION_ID')
a[:] = 0
tb.putcol('OBSERVATION_ID', a)
tb.close()
@daniestevez
daniestevez / gnuradio-m1-macs.md
Created June 15, 2021 20:36
GNU Radio in M1 Macs (with Docker Desktop)

GNU Radio in M1 Macs (with Docker Desktop)

This note describes the steps we took with the SETI Institute summer interns 2021 to install GNU Radio in their M1 Macs (MacBook Air M1 2020 model). We used gnuradio-docker-env as a starting point, which was of invaluable help.

There might be omissions, typos, etc., in this note, so any feedback is welcome. The procedure could also be streamlined a lot by generating known-good images and pushing the to Docker Hub.

XQuartz