rotator script image comments
parent
ee2b9d52ec
commit
a680c164ad
|
@ -5,6 +5,9 @@
|
|||
# GPLv3+
|
||||
# Copyright (C) 2023 Jeff Moe
|
||||
#
|
||||
# Dependencies:
|
||||
# apt install feh imagemagick
|
||||
#
|
||||
# TODO:
|
||||
# Script should do a loop that queries the position until it is reached.
|
||||
# In lieu of actual programming, just sleep longer.
|
||||
|
@ -19,35 +22,32 @@ source env/bin/activate
|
|||
spacecruft-greenctld-cmd "P 1 45"
|
||||
sleep 84
|
||||
PYTHONPATH=/usr/lib/python3/dist-packages:/usr/lib/python3/site-packages:$PYTHONPATH python CygnusRFI.py -b 2400000 -c 2048 -t 0.5 -d 5 -f 400000000 -F 430000000
|
||||
mv rfi_plot.png rfi_plot-01-1-45.png
|
||||
convert -font Helvetica -pointsize 72 -annotate 0x0+100+100 "1 Azimuth, 45 Elevation `date -uR`" rfi_plot.png rfi_plot-01-1-45.png
|
||||
|
||||
spacecruft-greenctld-cmd "P 90 45"
|
||||
sleep 30
|
||||
echo "do somesuch test"
|
||||
PYTHONPATH=/usr/lib/python3/dist-packages:/usr/lib/python3/site-packages:$PYTHONPATH python CygnusRFI.py -b 2400000 -c 2048 -t 0.5 -d 5 -f 400000000 -F 430000000
|
||||
mv rfi_plot.png rfi_plot-02-90-45.png
|
||||
convert -font Helvetica -pointsize 72 -annotate 0x0+100+100 "90 Azimuth, 45 Elevation `date -uR`" rfi_plot.png rfi_plot-02-90-45.png
|
||||
|
||||
spacecruft-greenctld-cmd "P 180 45"
|
||||
sleep 30
|
||||
echo "do somesuch test"
|
||||
PYTHONPATH=/usr/lib/python3/dist-packages:/usr/lib/python3/site-packages:$PYTHONPATH python CygnusRFI.py -b 2400000 -c 2048 -t 0.5 -d 5 -f 400000000 -F 430000000
|
||||
mv rfi_plot.png rfi_plot-03-180-45.png
|
||||
convert -font Helvetica -pointsize 72 -annotate 0x0+100+100 "180 Azimuth, 45 Elevation `date -uR`" rfi_plot.png rfi_plot-03-180-45.png
|
||||
|
||||
spacecruft-greenctld-cmd "P 270 45"
|
||||
sleep 30
|
||||
echo "do somesuch test"
|
||||
PYTHONPATH=/usr/lib/python3/dist-packages:/usr/lib/python3/site-packages:$PYTHONPATH python CygnusRFI.py -b 2400000 -c 2048 -t 0.5 -d 5 -f 400000000 -F 430000000
|
||||
mv rfi_plot.png rfi_plot-04-270-45.png
|
||||
convert -font Helvetica -pointsize 72 -annotate 0x0+100+100 "270 Azimuth, 45 Elevation `date -uR`" rfi_plot.png rfi_plot-04-270-45.png
|
||||
|
||||
spacecruft-greenctld-cmd "P 359 90"
|
||||
sleep 30
|
||||
echo "do somesuch test"
|
||||
PYTHONPATH=/usr/lib/python3/dist-packages:/usr/lib/python3/site-packages:$PYTHONPATH python CygnusRFI.py -b 2400000 -c 2048 -t 0.5 -d 5 -f 400000000 -F 430000000
|
||||
mv rfi_plot.png rfi_plot-05-359-90.png
|
||||
convert -combine rfi_plot-01-1-45.png rfi_plot-02-90-45.png rfi_plot-03-180-45.png rfi_plot-04-270-45.png rfi_plots.png
|
||||
|
||||
spacecruft-greenctld-cmd "P 90 90"
|
||||
sleep 65
|
||||
echo "do somesuch test"
|
||||
PYTHONPATH=/usr/lib/python3/dist-packages:/usr/lib/python3/site-packages:$PYTHONPATH python CygnusRFI.py -b 2400000 -c 2048 -t 0.5 -d 5 -f 400000000 -F 430000000
|
||||
mv rfi_plot.png rfi_plot-06-90-90.png
|
||||
feh \
|
||||
--fullscreen \
|
||||
--auto-zoom \
|
||||
--hide-pointer \
|
||||
--borderless \
|
||||
rfi_plots.png
|
||||
|
||||
|
|
Loading…
Reference in New Issue