diff --git a/AOloopControl/scripts/aorun/cacao-aorun-045-compCM-byblocks b/AOloopControl/scripts/aorun/cacao-aorun-045-compCM-byblocks index 84e0c693..26aeb88e 100755 --- a/AOloopControl/scripts/aorun/cacao-aorun-045-compCM-byblocks +++ b/AOloopControl/scripts/aorun/cacao-aorun-045-compCM-byblocks @@ -85,11 +85,18 @@ echo "NB modes = ${NBRMmodes}" -mbstartarray=(1 2 3 4 8 16 32 64 128 256 512 1024 2048 4096 8192) +mbstartarray=(1 2 3 12 50 200 1000 5000 10000) maxi=${#mbstartarray[@]} let maxi=maxi-1 + +if [[ ${MARGMODE} -eq 1 ]]; then +margstring="" +else +margstring="0:1" +fi + for (( i=0; i<$maxi; i++)); do mb0=${mbstartarray[$i]} let i1=i+1 @@ -101,10 +108,25 @@ let mb1=NBRMmodes fi printf "MODE BLOCK %02d : %4d : %4d\n" $i $mb0 $mb1 fi -done +if [[ $i -lt 2 ]]; then +echo "cacao-aorun-039-compstrCM -mb $i -mr $mb0:$mb1" +else +if [[ $i -eq 2 ]]; then +margstring="2" +else +margstring="margstring:$i" +fi +if [[ ${MARGMODE} -eq 1 ]]; then +echo "cacao-aorun-039-compstrCM -mb $i -mr $mb0:$mb1 ${WHICH_MARG} ${margstring} ${MARGTT}" +else +echo "cacao-aorun-039-compstrCM -mb $i -mr $mb0:$mb1 ${WHICH_MARG} 0:1:${margstring}" +fi +fi + +done exit @@ -128,6 +150,10 @@ fi + + + + # make LO CM cacao-fpsctrl setval compstrCM svdlim ${SVDlim}