diff --git a/applications/apertif/commissioning/setup_arts.py b/applications/apertif/commissioning/setup_arts.py index 2682128fd008a93e4c6372b5b93f4a565b75b5c9..023543c7171d95a01ad9b9bb52cd0cbe405a6358 100644 --- a/applications/apertif/commissioning/setup_arts.py +++ b/applications/apertif/commissioning/setup_arts.py @@ -26,7 +26,7 @@ Usage: Run on lcu-rt# > ssh lcu-rtc -X "python $RADIOHDL/applications/apertif/commissioning/setup_arts.py --scheme arts_sc1 --unb 0:7 --bn 0:3 --fn 0:3 -v 3 --pol 0,1 --cbeams 0 --globalsp 60" - > ssh lcu-rtc -X "python $RADIOHDL/applications/apertif/commissioning/setup_arts.py --scheme arts_sc4 --unb 0:7 --bn 0:3 --fn 0:3 -v 3 --pol 0,1 --cbeams 0:39 --globalsp 60,0:38" + > ssh lcu-rtc -X "python $RADIOHDL/applications/apertif/commissioning/setup_arts.py --scheme arts_sc4 --unb 0:7 --bn 0:3 --fn 0:3 -v 3 --pol 0,1 --cbeams <#,> --globalsp <#,>" """ ############################################################################### @@ -65,13 +65,14 @@ if not tc.read: rbeam.read_and_verify_reorder_beamlets() ############################################################################### -# Compound BF : Write compound beamformer weights -# . for Arts SC1 use: --cbeams 0 --globalsp 56 # central SP pixel in PAF for CB 0 -# . for Arts SC1 use: --cbeams 0,1 --globalsp 56,56 # central SP pixel in PAF for CB 0,1 similar as in test_arts_0.py -# . for Arts SC4 use: --cbeams 0:39 --globalsp 56,1,2...,39 # ordered list of SP pixel numbers in PAF, one pixel per CB +# Compound BF : Write compound beamformer weights for single element compound beams +# . for Arts SC1 use: --cbeams 0 --globalsp 56 # central single SP in PAF for CB 0 +# . for Arts SC1 use: --cbeams 0,1 --globalsp 56,56 # central single SP in PAF for CB 0,1 similar as in now obsolete test_arts_0.py +# . for Arts SC4 use: --cbeams ... --globalsp ... # list of single SP in PAF, and corresponding list of CB cbBf = dish.CompoundBeamformer(tc, io, rsub, rbeam) -for ci, cb in enumerate(tc.cbeams): # single pixel SP per CB - cbBf.set_same_weigth_to_subset_of_weights(cb=cb, pol=tc.polNrs, subband=range(dish.N_sub), sp=tc.globalsp[ci], weight=complex(32767, 0)) +for ci, cb in enumerate(tc.cbeams): # single element SP per CB + cbBf.set_same_weigth_to_subset_of_weights(cb=cb, pol=tc.polNrs, subband=range(dish.N_sub), sp=tc.globalsp[ci], weight=complex(32767, 0), updateFormats=False) +cbBf.update_other_weights_formats() #cbBf.log_cb_subband_weights() #cbBf.log_cb_iblet_weights() #cbBf.log_beamlet_weights()