Releases: WVURAIL/gr-radio_astro
v2021.08-gr38
gr-radio_astro
This package provides GNUradio OOT modules and grc
flowgraphs that fascilates Radio Astronomy Observations with software defined radio devices.
There are two flavors of this projects:
- NSF Integrate and Detect softwares that allow for HI measurements and also event detections from cosmic ray detections, developed by Dr. Glen Langston. See here and the lightwork memo series for more details.
- DSPIRA software developed for and by High School Teachers part of the NSF funded RET program called Digital Signal Processing in Radio Astronomy (DSPIRA) at WVU university from the summers of 2017 to 2021. For more details visit the webpage and the companion website called dspira-lessons that has lessons, guides and more material help one to use radio astronomy in a high school classroom. This material is designed by the High School teachers part of this program.
Installing from Source
- Install GNUradio
- Install gnuradio external python dependencies and SDR drivers by typing the following and hit enter:
sudo apt install gnuradio gr-osmosdr airspy python3-h5py python3-ephem git cmake liborc-0.4-dev -y
- To clone the repository:
git clone https://github.com/WVURAIL/gr-radio_astro.git
- Switch to the gr-radio_astro directory:
cd gr-radio_astro
- Make a build directory:
mkdir build
, and then move to it:cd build
- Then run the following in the build directory:
cmake .. sudo make sudo make install
Additional Steps for setting the proper Python environment:
- Edit your
.bashrc
file and add this to the bottom to set Python path:export PYTHONPATH=/usr/local/lib/python3/dist-packages:/usr/local/lib/python3.8/dist-packages:$PYTHONPATH
- Additionally you can create appropriate symbolic links
- Check which python is the installed version of GNURadio by opening
gnuradio-companion
in a terminal window and click onHelp --> About
and noting the python version on the dialog box that opens. - Go to the following by typing:
cd /usr/local/lib/python3.8/dist-packages
orcd /usr/local/lib/python3.9/dist-packages
for the appropriate python version. - Type
ln -s /usr/local/lib/python3/dist-packages/radio_astro
- Check which python is the installed version of GNURadio by opening
Running from a bootable USB Flash Drive with preinstalled software:
Instructions to set up a persistant USB flash with preinstalled software drive are here
Installng on a Raspberry Pi.
Supported Raspberry Pi Devices
All devices must have RAM greater than 4GB
- Raspberry Pi 4 Model B
- Raspberry Pi 400
Installing Ubuntu image with radio astronomy preinstalled on a Raspberry Pi
This image requires a minimum of 16GB of space on the SD card.
- Download the image here
- Unzip the
.zip
file. - Use Raspberry Pi Imager to install this image.
- Insert SD card to Raspberry Pi and power it up.
- The default user name is
pi
, with passwordraspberry
. Change the password after first boot.
Tested Package for GNURadio 3.8 - August 2020 release
Download
From links below or clone at this tag git clone -b v2020.08-gr38 https://github.com/WVURAIL/gr-radio_astro.git
Use your existing repository with latest Version
git fetch --tags
git checkout $(git describe --tags `git rev-list --tags --max-count=1`)
FOR Ubuntu 20.04 (on a Fresh install of OS)
- Install GNURadio
Install Guide
- Download and unzip the source code from below and go to
gr-XXX
folder create a build folder
mkdir build
- Change directory into the build folder
cd build
- run the following commands
cmake ..
sudo make
sudo make install
sudo ldconfig
Additional Steps for setting the proper Python environment:
-
Open a terminal window.
-
Make sure you are at the home directory (type
cd
); typegedit .bashrc
. This opens the bashrc file in an editor. -
Scroll to the very bottom of this file, add a space, and then copy and paste the following code:
export PYTHONPATH=/usr/local/lib/python3/dist-packages:/usr/local/lib/python3.8/dist-packages:$PYTHONPATH
-
Save and close (x in upper right corner).
-
Go to the folder by typing:
cd /usr/local/lib/python3.8/dist-packages
-
Type
ls
-
If the folder
radio_astro
exists, delete it by typingsudo rm -rf radio_astro
. -
Check for proper installment by opening a new terminal window and starting Gnuradio (
gnuradio-companion
) -
Run
spectrometer_w_cal.grc
. If no error occurs, installation was a success! -
Run GNU Radio Companion to check if the modules were installed.
Tested package of the latest gr-radio_astro for GNUradio 3.8
FOR Ubuntu 20.04 (on a Fresh install of OS)
- Install GNURadio
Install Guide
- Download and unzip the source code from below and go to
gr-XXX
folder create a build folder
mkdir build
- Change directory into the build folder
cd build
- run the following commands
cmake ..
sudo make
sudo make install
sudo ldconfig
- Run GNU Radio Companion to check if the modules were installed.
Tested package of the latest gr-radio_astro for GNUradio 3.7
Install Guide
- Download and unzip the packages from below
mkdir build
- Change directory into the build folder
cd build
- run the following commands
cmake ..
sudo make
sudo make install
sudo ldconfig
- Run GNU Radio Companion to check if the modules were installed.