2020-02-21 18:21:27 -07:00
|
|
|
# CygnusRFI: An open-source RFI analysis tool for Ground Stations & Radio Telescopes
|
2023-01-17 11:54:50 -07:00
|
|
|
This is a port of CygnusRFI from Python 2 to Python 3.
|
|
|
|
|
|
|
|
![RF Plot](img/example-rfi_plot.png)
|
|
|
|
|
2020-02-21 18:09:31 -07:00
|
|
|
|
2023-01-17 08:44:38 -07:00
|
|
|
# Setup
|
2023-01-17 09:22:08 -07:00
|
|
|
Install dependencies.
|
|
|
|
|
|
|
|
```
|
2023-01-17 11:21:09 -07:00
|
|
|
sudo apt install --no-install-recommends python3-pip python3-virtualenv \
|
|
|
|
gnuradio gr-osmosdr
|
2023-01-17 09:22:08 -07:00
|
|
|
```
|
|
|
|
|
|
|
|
Install CygnusRFI fork.
|
2023-01-17 08:44:38 -07:00
|
|
|
|
|
|
|
```
|
|
|
|
git clone https://spacecruft.org/spacecruft/CygnusRFI.git
|
|
|
|
cd CygnusRFI/
|
|
|
|
virtualenv -p python3 env
|
|
|
|
source env/bin/activate
|
|
|
|
pip install --upgrade pip
|
2023-01-17 09:12:57 -07:00
|
|
|
pip install -r requirements.txt
|
2023-01-17 08:44:38 -07:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
# Use
|
2023-01-17 09:22:55 -07:00
|
|
|
Example:
|
2023-01-17 08:44:38 -07:00
|
|
|
|
|
|
|
```
|
2023-01-17 11:13:31 -07:00
|
|
|
export PYTHONPATH=/usr/lib/python3/dist-packages:/usr/lib/python3/site-packages:$PYTHONPATH
|
2023-01-17 11:21:09 -07:00
|
|
|
|
2023-01-17 09:22:55 -07:00
|
|
|
python CygnusRFI.py -b 2400000 -c 2048 -t 0.5 -d 5 -f 400000000 -F 430000000
|
2023-01-17 08:44:38 -07:00
|
|
|
```
|
|
|
|
|
2023-01-17 12:54:36 -07:00
|
|
|
See example output: `README-example.md`.
|
|
|
|
|
2023-01-17 08:44:38 -07:00
|
|
|
|
|
|
|
# Help
|
|
|
|
Help output.
|
|
|
|
|
|
|
|
```
|
|
|
|
$ python CygnusRFI.py -h
|
|
|
|
usage: CygnusRFI.py [-h] -b BANDWIDTH [-c CHANNELS] [-t T_INT] -d DURATION -f FMIN -F FMAX
|
|
|
|
|
|
|
|
options:
|
|
|
|
-h, --help show this help message and exit
|
|
|
|
-b BANDWIDTH, --bandwidth BANDWIDTH
|
|
|
|
-c CHANNELS, --channels CHANNELS
|
|
|
|
-t T_INT, --t_int T_INT
|
|
|
|
-d DURATION, --duration DURATION
|
|
|
|
-f FMIN, --fmin FMIN
|
|
|
|
-F FMAX, --fmax FMAX
|
|
|
|
```
|
2020-02-21 18:09:31 -07:00
|
|
|
|
2023-01-17 12:32:21 -07:00
|
|
|
|
2023-01-17 08:39:46 -07:00
|
|
|
# Upstream
|
|
|
|
See `README-upstream.md`
|
2020-02-21 18:09:31 -07:00
|
|
|
|
2023-01-17 08:39:46 -07:00
|
|
|
https://github.com/0xCoto/CygnusRFI
|
2020-02-21 18:09:31 -07:00
|
|
|
|
2023-01-17 11:54:50 -07:00
|
|
|
**CygnusRFI** was created by **[Apostolos Spanakis-Misirlis](https://www.github.com/0xCoto/)**.
|
|
|
|
|
|
|
|
**Contact:** [0xcoto@protonmail.com](mailto:0xcoto@protonmail.com)
|
|
|
|
|
|
|
|
|
2023-01-21 11:04:37 -07:00
|
|
|
See also forum thread:
|
|
|
|
|
|
|
|
* https://community.libre.space/t/cygnusrfi-an-open-source-rfi-analysis-tool-for-ground-stations-radio-telescopes/5553
|
|
|
|
|
|
|
|
|
2023-01-17 11:54:50 -07:00
|
|
|
# Status
|
|
|
|
It appears to be working, but has been minimally tested.
|
|
|
|
|
2023-01-17 12:32:21 -07:00
|
|
|
Tested on Raspberry Pi 4 with Debian stable (11/bullseye).
|
|
|
|
|
2023-01-17 12:47:38 -07:00
|
|
|
Using Nooelec Smartee SDR:
|
|
|
|
```
|
|
|
|
Bus 001 Device 003: ID 0bda:2838 Realtek Semiconductor Corp. RTL2838 DVB-T
|
|
|
|
```
|
|
|
|
|
2023-01-17 11:54:50 -07:00
|
|
|
|
|
|
|
# Copyright
|
|
|
|
Upstream sources under their respective copyrights.
|
|
|
|
|
|
|
|
License, same as upstream: GPLv3.
|
|
|
|
|
|
|
|
*Copyright © 2023, Jeff Moe.*
|
|
|
|
|