This repository has examples on taking data with RTL-SDR devices, using the rtl_sdr command line utility, and producing Breakthrough Listen GUPPI RAW files from the collected data.
The setigen.voltage module takes in time series voltage data and produces synthetic GUPPI RAW data files. However, taking IQ data and creating custom signal injection functions, we can load complex IQ data into the pipeline and create raw files. If desired, we can inject ideal drifting cosine signals on top of this, just using the standard setigen.voltage functions.
observe.shis a bash script based on thertl_sdrutility that collects data from an RTL-SDR device. Specifically, the script collects 1% more data than specified by observation length, just to make sure we have enough data to save after passing everything through the polyphase filterbank in thesetigenvoltage pipeline.example_observation.shis a sample call toobserve.sh, used to collect 60 seconds of data for use in the tutorial notebooks.passing_rtlsdr_to_setigen.ipynbis a Jupyter notebook that walks through steps to set up thesetigenvoltage pipeline, and details on reading in and formatting the RTL-SDR IQ data. Shows results after creating RAW files and reducing withrawspec.injecting_signals_in_rtlsdr.ipynbis a Jupyter notebook that further injects a drifting cosine signal onto RTL-SDR data, and shows the results.inject_into_rtlsdr.pyis just the code from the injection notebook, compiled into a Python script.
setigen: https://github.com/bbrzycki/setigen
rawspec: https://github.com/UCBerkeleySETI/rawspec
rtl_sdr: https://osmocom.org/projects/rtl-sdr/wiki (Installation help)