!
! emirOnTheFly.pako
!
! Template for setting up on-the-fly observations in total power
! mode (for frequency switching, see demoOnTheFlyFrequSwitch.pako).
!
! H.W., 2007-11-09
! Modified by MG on 2012-12-12
!
! For details, please consult the PaKo manual at
! http://www.iram.es/IRAMES/documents/ncs30mPako/Current/PDF/pako.pdf
!
!
SWTOTAL                                   - !  to select total power
  /TPHASE        0.5                        !  time per phase (data sample)
!
calibrate /default
start
!
OTFMAP       xStart ystart xEnd yEnd     - !  offsets at start & end of 1st OTF
  /CROLOOP      ROR                       - !  subscans: reference-OTF-reference
  /NOTF          4                        - !  number of on-the-fly subscans
  /REFERENCE  -500  -400  projection      - !  offsets of off-source reference
  /STEP          0    10                  - !  step (shift) between OTF subscans
  /SYSTEM       projection                - !  system for offsets
  /TOTF         120.0                     - !  time per on-the-fly subscan
  /TREFERENCE    20.0                     - !  time per off-source reference
  /ZIGZAG                                   !  go back and forth
!
START                                       !  start
!
! Comments:
!
! /CROLOOP      ROR means that there will be an 
!               off-source reference subscan (R)
!               before and after each OTF suscan (O).
!               Therefore with /NOTF 4 on-the-fly subscans the complete
!               subscan sequence will be:
!               R OTF#1 R   R OTF#2 R   R OTF#3 R   R OTF#4 R   
!               with
! /CROLOOP      ROOROOR it would be:
!               R OTF#1       OTF#2   R   OTF#3       OTF#4 R   
