diff --git a/applications/apertif/commissioning/dish_commands.sh b/applications/apertif/commissioning/dish_commands.sh index 419582e7dacde99f28cfe88759f55d6fc4538d3c..1a9eb62cd42b4a8f34e34c0417695d4406b442a1 100755 --- a/applications/apertif/commissioning/dish_commands.sh +++ b/applications/apertif/commissioning/dish_commands.sh @@ -77,6 +77,7 @@ elif [ "$APP" == "arts_sc1" ]; then # IMAGE_BF=$RADIOHDL/applications/arts/commissioning/sc1/apertif_unb1_fn_beamformer_base-r16106.rbf # Augus 8: Yogesh conformed SC1 works with below image + transpose switch enabled. IMAGE_BF=/home/daniel/apertif_unb1_fn_beamformer_trans-r17128.rbf # SR1 + sleep 1 elif [ "$APP" == "arts_sc4" ]; then IMAGE_BF=/home/daniel/apertif_unb1_fn_beamformer_trans-r17128.rbf # 14 april 2017. Fiber delay comp. fi @@ -211,13 +212,26 @@ python $UPE/peripherals/util_diag_wg_wideband.py --unb $UNBS --bn 0:3 -n 4 --sp #esac ############################################################################### -# Write front end beamformer settings: +# Write front end beamformer settings for Arts SC1: # . 24 subbands in beam 0 # . beam 0 = beamlets 0,2,4,..,46; central PAF element (56) processed by FN0 # . beam 1 = beamlets 1,3,5,..,47; near-central PAF element (??) processed by BN0 ############################################################################### -if [ "$APP" == "arts_sc1" ] || [ "$APP" == "arts_sc4" ]; then - ssh boudewijn@localhost sh /home/boudewijn/SVN/apertif/commissioning/trunk/test_scripts/python/test_arts_0.sh +if [ "$APP" == "arts_sc1" ]; then + #ssh boudewijn@localhost sh /home/boudewijn/SVN/apertif/commissioning/trunk/test_scripts/python/test_arts_0.sh + python $RADIOHDL/applications/apertif/commissioning/setup_arts.py --scheme $APP --unb 0:7 --bn 0:3 --fn 0:3 -v 3 --pol 0,1 --cbeams 0,1 --globalsp 56,56 +fi + +############################################################################### +# Write front end beamformer settings for Arts SC4: +# . Even beamlets arrive at PN 0:3 (so FN) and odd beamlets arrive a PN 4:7 (so BN) +# . Each PN must get K_CB / nof_pn = PN_CB = 5 CB. +# . Each BF unit must process K_CB / P_BF = 10 CB. +############################################################################### +if [ "$APP" == "arts_sc4" ]; then + # Run python $UPE/base/unb_apertif.py to view how the generic PAF element numbers relate to the --pol, --globalsp and to get the list of single element beams per polarization + python $RADIOHDL/applications/apertif/commissioning/setup_arts.py --scheme $APP --unb 0:3 --bn 0:3 --fn 0:3 -v 3 --pol 0 --cbeams 0,1,2,3,5,6,7,8,10,11,12,13,15,16,17,18,20,21,22,23,25,26,27,28,30,31,32,33,35,36,37,38 --globalsp 30,61,6,31,37,27,60,42,3,36,26,7,57,2,33,18,45,56,21,40,32,44,63,5,20,39,41,16,62,17,38,35 + python $RADIOHDL/applications/apertif/commissioning/setup_arts.py --scheme $APP --unb 4:7 --bn 0:3 --fn 0:3 -v 3 --pol 1 --cbeams 0,1,2,3,5,6,7,8,10,11,12,13,15,16,17,18,20,21,22,23,25,26,27,28,30,31,32,33,35,36,37,38 --globalsp 9,30,61,31,6,27,60,42,3,36,15,7,26,57,2,18,45,56,21,29,32,11,44,40,63,20,41,5,62,17,38,16 fi ###############################################################################