BACKEND EXAMPLES

###
BACKEND EXAMPLES

        !
        ! Id: demo-backend.pako
        !     basic BACKEND EXAMPLES,v 1.1.11 2011-11-24 Hans Ungerechts
        !
        swTotal /default                              ! select a switching mode
        !                                             ! compatible with all backends
        !
        !   one example of a complex EMIR setup:
        !
        ! pako\RECEIVER
        pako\RECEIVER /clear
        !
        RECEIVER E090 CS(2-1) 97.980965 LI  -
         /horizontal  LI                    -
         /vertical    LI
        !
        RECEIVER E230 CO(2-1) 230.537994 LI -
         /horizontal  LI                    -
         /vertical    LI
        !
        !
        BACKEND /CLEAR                                ! clear all backend setups
        !
        !                                             ! EMIR BBC
        BACKEND BBC        /Default                   ! connect 1 part
        !                                             ! to both polarizations
        !                                             ! of each sideband
        !                                             ! of each selected EMIR band
        pause
        !
        !                                             ! EMIR NBC
        backend /clear
        BACKEND NBC        /Default                   ! connect 1 part to
        !                                             ! each selected EMIR subband
        pause
        !
        !                                             ! EMIR WILMA
        backend /clear
        BACKEND WILMA      /Default                   ! connect 1 part to
        !                                             ! each selected EMIR subband
        pause
        !
        !
        !                                             ! EMIR 4MHz
        !                                             ! NOTE: 4MHz has only 2
        !                                             !       parts with EMIR
        backend /clear
        BACKEND 4MHz       /Default                   ! connect 1 part to each of
        !                                             ! the first 2 EMIR subbands
        pause
        !
        BACKEND 4MHZ 1    /Receiver E090 Horiz LI     ! connect 1 part to E090 Ho LI
        BACKEND 4MHZ 2    /Receiver E230 Verti LI     !       2nd part to E230 Ve LI
        pause
        !
        !                                             ! EMIR FTS wide bandwidth mode
        !                                             !    /Fine is NOT present
        backend /clear
        BACKEND FTS        /Default                   ! connect 1 part to
        !                                             ! each selected EMIR subband
        !                                             ! plus 1 part to each of the
        !                                             ! 4 outer subbands of E090
        pause
        !
        backend /clear
        !                                             ! short syntax (still wide)
        BACKEND FTS 1        /Receiver E090 hor LI    !
        BACKEND FTS 2        /Receiver E090 ver LI    !
        BACKEND FTS 3        /Receiver E230 hor LI    !
        BACKEND FTS 4        /Receiver E230 ver LI    !
        BACKEND FTS 5        /Receiver E090 ver LO    !
        BACKEND FTS 6        /Receiver E230 ver LO    !
        BACKEND FTS 7        /Receiver E090 hor LO    !
        BACKEND FTS 8        /Receiver E230 hor LO    !
        !                                             !
        pause
        !
        !                                             ! EMIR FTS fine resolution
        !                                             !   because /Fine is present
        backend /clear
        BACKEND FTS   /Fine  /Default                 ! connect 1 part to
        !                                             ! each selected EMIR subband
        !                                             ! plus 1 part to each of
        !                                             ! the 4 outer subbands of E090
        pause
        !
        backend /clear
        !                                             ! short syntax (fine)
        BACKEND FTS 1 /Fine  /Receiver E090 hor LI    !
        BACKEND FTS 2 /Fine  /Receiver E090 ver LI    !
        BACKEND FTS 3 /Fine  /Receiver E230 hor LI    !
        BACKEND FTS 4 /Fine  /Receiver E230 ver LI    !
        BACKEND FTS 5 /Fine  /Receiver E090 ver LO    !
        BACKEND FTS 6 /Fine  /Receiver E230 ver LO    !
        BACKEND FTS 7 /Fine  /Receiver E090 hor LO    !
        BACKEND FTS 8 /Fine  /Receiver E230 hor LO    !
        !                                             !
        pause
        !
        !
        !                                             ! EMIR WILMA + 4MHz + VESPA
        backend /clear
        BACKEND WILMA      /Default                   !
        BACKEND 4MHz       /Default                   !
        BACKEND VESPA  1   0.040   40.0    0.0   E090  Horiz  LI
        BACKEND VESPA  2   0.040   40.0    0.0   E090  Verti  LI
        BACKEND VESPA  3   0.040   40.0    0.0   E230  Horiz  LI
        BACKEND VESPA  4   0.040   40.0    0.0   E230  Verti  LI
        say                                         " ! backends can be combined"
        pause
        !
        !
        !! EMIR VESPA autocorrelator -- basic mode with fShift. optional: line name
        !
        backend /clear
        BACKEND VESPA  1   0.040   40.0  -120.0  E090  Horiz  LI /line E0HUO-M
        BACKEND VESPA  2   0.040   40.0   120.0  E090  Horiz  LI /line E0HUO-P
        BACKEND VESPA  3   0.040   40.0  -100.0  E090  Verti  LI /line myLine3
        BACKEND VESPA  4   0.040   40.0   110.0  E090  Verti  LI /line myLine4
        BACKEND VESPA  5   0.040   80.0  -150.0  E230  Horiz  LI /line ""
        BACKEND VESPA  6   0.040   80.0   150.0  E230  Horiz  LI /line apple
        BACKEND VESPA  7   0.040   80.0  -200.0  E230  Verti  LI /line orange
        BACKEND VESPA  8   0.040   80.0   200.0  E230  Verti  LI /line red
        pause
        !
        !! EMIR VESPA autocorrelator -- basic and parallel modes
        !
        backend /clear
        BACKEND VESPA  1   0.320  240.0    0.0   E090  Horiz  LI
        BACKEND VESPA  2   0.320  240.0    0.0   E090  Verti  LI
        BACKEND VESPA  3   0.320  240.0    0.0   E230  Horiz  LI /mode parallel
        pause
        !
        !! NOTE: BACKEND VESPA ... E230 Horiz LI /mode parallel
        !!       connects one VESPA part in parallel to
        !!       E230 Horiz LI and E230 Verti LI
        !!       (both must be selected in RECEIVER command)
        !
        !
        !! HERA with FTS wide bandwidth
        !
        receiver /clear
        RECEIVER HERA1 /WIDTH wide
        RECEIVER HERA2 /WIDTH wide
        !
        backend /clear
        BACKEND FTS 1           /RECEIVER HERA1
        BACKEND FTS 2           /RECEIVER HERA2
        !
        !
        !! HERA narrow bandwidth with FTS fine resolution
        !
        receiver /clear
        RECEIVER HERA1 /WIDTH narrow
        RECEIVER HERA2 /WIDTH narrow
        !
        backend /clear
        BACKEND FTS 1   /FINE   /RECEIVER HERA1
        BACKEND FTS 2   /FINE   /RECEIVER HERA2
        !