! Example of a "piggyback" observation using both Mark5A and ! Mark5C (RDBE_PFB) recordings. ! ! The version of the RDBE PFB firmware available at the time ! had a fixed arrangement of basebands. See more details with ! the setups. ! ! For the test project from which this file was adapted ! the old VLBA DAR and Mark5A recorder were run in ! parallel with the RDBE/MARK5C system. For that situation, ! SCHED must be run twice. One pass produces the control ! files for the old system and for correlation of the data ! from that system. The second pass produces the ! control file for the new system and for correlation of the ! data from the new system. SCHED does not have the ! ability to produce all the files at once with full user ! control because many variables that are reused need ! different values. For MARK5C schedules, SCHED will provide ! default setups for the legacy hardware, but will not activate ! recording. ! ! Setup files are here for both VLBA/Mark5A recordings and ! RDBE/Mark5C recordings. Some show nearly all parameters ! specified. Some show the use of SCHED's defaulting ! capabilities. ! ! For the two passes for different systems, not all of the ! inputs are the same. Where there are differences, the lines ! start with "!MARK5A" or "!MARK5C". The "!" makes the line ! a comment so it is ignored by SCHED. Those identifiers ! are followed by the active line required for that system. ! To activate one or the other, remove the "!MARK5A" or ! "!MARK5C" from the start of the lines where it appears, ! thus activating that line. A script is available ! to do that automatically (using sed). ! ! Typically, at the DSOC (AOC), there will be two subdirectories ! for a piggyback observation, one for the MARK5A and one for the ! MARK5C files. The key file will be kept in the base directory ! for the observation. A script called runsch will be run to ! create each type of file. Here in the examples directory is a ! copy of the very-simple runsch file and an egrdbe.run file that ! holds what would normally be typed. ! ! The example is based on the RDBE fringe test of Dec 3 2010 ! with 5 stations: LA, PT, HN, MK, BR ! ! #! /bin/csh ! # Shortcut for runsch for this directory. ! ~cwalker/bin/runsch ../td009a.key MARK5C ! where runsch is: ! #! /bin/csh ! /bin/rm temp.key ! /bin/cp $1 . ! echo Running $1:t with \!$2 replaced by blanks. ! echo Modified key file is in temp.key ! sed 's:\!'$2'::' <$1:t >temp.key ! sched < temp.key ! ========================================================== ! ================= Cover Information ==================== ! ========================================================== ! Schedule written by Craig Walker version = 1 expt = 'Internal RDBE fringe test' !MARK5A expcode = piggya ! original test: expcode = td009a !MARK5C expcode = piggyc piname = 'Craig Walker' address1 = 'National Radio Astronomy Observatory' address2 = 'P. O. Box O' address3 = 'Socorro, New Mexico, 87801' address4 = ' U.S.A. ' phone = '575 835 7247 ' obsphone = '575 835 7247 ' email = cwalker@nrao.edu fax = '575 835 7027 ' obsmode = '6cm 128-4-2 ' obstype = VLBA note1 = ' ' ! ========================================================== ! ============== Correlator Information ================== ! ========================================================== ! Note the channel bandwidwidth should not exceed 0.5 MHz ! to avoid problems if the correlator a priori delays are not ! perfect. correl = Socorro coravg = 2 !MARK5A corchan = 16 !MARK5C corchan = 64 cornant = 2 corpol = on corwtfn = uniform corsrcs = standard cortape = FTP corship1 = 'Craig Walker' corship2 = 'P. O. Box O' corship3 = 'Socorro NM 87801' ! ========================================================== ! ================== Program control ===================== ! ========================================================== ! Normally SCHED will not overwrite preexisting files. ! If you want this protection, comment this following line. overwrit ! Specify the parameters desired in the scan summary in the ! .sum file. sumitem = el1, early ! ========================================================== ! ============ Source and Station Catalogs =============== ! ========================================================== ! The MARK5A versions are really the SCHED defaults so are ! not strictly needed. The "RDBE" versions have the hardware ! descriptions for the RDBE/MARK5C and have the IF range set ! to 512-1024MHz rather than 500-1000MHz. Also, only the ! freq_RDBE.dat file has options covering the full range of ! the new 6cm (4-8 GHZ) receivers. srcfile = $SCHED/catalogs/sources.vlba srcfile2 = $SCHED/catalogs/sources.pointing !MARK5A freqfile = $SCHED/catalogs/freq.dat !MARK5A stafile = $SCHED/catalogs/stations.dat !MARK5C freqfile = $SCHED/catalogs/freq_RDBE.dat !MARK5C stafile = $SCHED/catalogs/stations_RDBE.dat ! Add a blank sky source to test noise levels, spurious correlation etc. srccat / source='BLANKSKY' equinox='J2000' RA=16:42:58.8099550 DEC= 40:48:36.993945 CALCODE=' ' REMARKS='Blank sky one degree from 3C345' / endcat/ ! ========================================================== ! ======================= Setup files ==================== ! ========================================================== ! ! The first setups are for the Mark5A recording. ! They are for 128 Mbps with frequencies matched to some ! of the RDBE channels. ! Mark5A at 6cm setini = trdbem5a.6cm / band = '6cm' bits=2 nchan=4 pol=dual bbfilt=8 synth(2)= 4.1 firstlo = 4100.0 freqref = 4916.00 freqoff = 0, 0, -64.0, -64.0 pcal = '5MHz' netside = L / endset / ! Mark5A High range at 4cm setini = trdbem5a.4cm / band = '4cm' bits=2 nchan=4 pol=dual bbfilt=8 synth(1) = 7.6 firstlo = 7600.0 freqref = 8416.00 freqoff = 0, 0, -64.0, -64.0 pcal = '5MHz' netside = L / endset / ! Mark5A for sx setini = trdbem5a.sx / fe = '13cm', '4cm', '13cm', '4cm' synth(1) = 7.6 synth(2) = 3.1 band = 'sx' bits=2 nchan=4 bbfilt=8 firstlo = 7600.0, 3100.0, 7600.0, 3100.0 freqref = 8416.00, 2284, 8416.00, 2284 ifchan = B, A, B, A freqoff = 0, 0, -64.0, -64.0 pcal = 'off' pol = R, R, R, R netside = L, U, L, U / endset / ! 1cm - for masers. setini = trdbem5a.1cm / pcal = '5MHz' band = '1cm' bits=2 nchan=4 pol=dual bbfilt=8 netside = 'L' freqref = 22316.00, 22316.00, 22238.63, 22238.63 / endset / ! RDBE Setups: ! The bbsyn values must be N*32 + 16 for N between 17 and 32 ! For the initial firmware version, every other 32 MHz band was ! selected and that is what it shown below. But the choice of which ! 32 MHz bands to use is arbitrary. Note that, for N=32, ! that channel will be corrupted, but it is needed to put all ! 16 channels in one polarization, if that is desired. All ! baseband channels have lower sideband relative to the IF. The ! net sideband depends on the mixes that happen to create the IF. ! RDBE 6cm This is a fully specified setup. setini = trdbe.6cm / dbe = 'rdbe_pfb' ! Use the RDBE with the PFB personality format = 'mark5b' ! Specify format. firstlo = 4100.0 fe(1) = '6cm' fe(3) = '6cm' synth(2) = 4.1 nchan = 16 bbfilt = 32.0 bits = 2 sideband = L,L,L,L, L,L,L,L, L,L,L,L, L,L,L,L netside = L ifchan = A,C,A,C, A,C,A,C, A,C,A,C, A,C,A,C pol = R,L,R,L, R,L,R,L, R,L,R,L, R,L,R,L bbc = 1,2,3,4, 5,6,7,8, 9,10,11,12, 13,14,15,16 bbsyn = 1008.0, 1008.0, 944.0, 944.0, 880.0, 880.0, 816.0, 816.0, 752.0, 752.0, 688.0, 688.0, 624.0, 624.0, 560.0, 560.0 pcal = '5MHz' ! Helps make bands identifiable / endset / ! RDBE High range at 4cm. ! This shows only the required parameters. Sched figures out the rest. setini = trdbea.4cm / dbe = 'rdbe_pfb' band = '4cm' nchan = 16 bbfilt = 32.0 bits = 2 sideband = L netside = L pol = dual firstlo = 7600.0 bbsyn = 1008.0, 1008.0, 944.0, 944.0, 880.0, 880.0, 816.0, 816.0, 752.0, 752.0, 688.0, 688.0, 624.0, 624.0, 560.0, 560.0 pcal = '5MHz' ! Helps make bands identifiable / endset / ! Low range at 4cm. More compact typing. setini = trdbeb.4cm / firstlo = 7600.0 nchan = 16 bbfilt = 32.0 bits = 2 sideband = L netside = L pol = dual bbsyn = 1008.0, 1008.0, 944.0, 944.0, 880.0, 880.0, 816.0, 816.0, 752.0, 752.0, 688.0, 688.0, 624.0, 624.0, 560.0, 560.0 pcal = '5MHz' ! Helps make bands identifiable / endset / ! S/X This is RCP only, but using the dual band capability. setini = trdbe.sx / pcal = 'off' ! for the cross talk test firstlo = 7600.0, 3100.0, 7600.0, 3100.0, 7600.0, 3100.0, 7600.0, 3100.0, 7600.0, 3100.0, 7600.0, 3100.0, 7600.0, 3100.0, 7600.0, 3100.0 fe = '13cm', '4cm', '13cm', '4cm' synth(1) = 7.6 synth(2) = 3.1 nchan = 16 bbfilt = 32.0 bits = 2 sideband = L,L,L,L, L,L,L,L, L,L,L,L, L,L,L,L netside = L,U,L,U, L,U,L,U, L,U,L,U, L,U,L,U ifchan = B,A,B,A, B,A,B,A, B,A,B,A, B,A,B,A pol = R,R,R,R, R,R,R,R, R,R,R,R, R,R,R,R bbc = 1,2,3,4, 5,6,7,8, 9,10,11,12, 13,14,15,16 bbsyn = 1008.0, 1008.0, 944.0, 944.0, 880.0, 880.0, 816.0, 816.0, 752.0, 752.0, 688.0, 688.0, 624.0, 624.0, 560.0, 560.0 pcal = '5MHz' ! Helps make bands identifiable / endset / ! 1cm This one is fairly fully specified. setini = trdbe.1cm / format = 'mark5b' firstlo = 21500.0 fe(2) = '1cm' fe(4) = '1cm' synth(1) = 8.9 synth(3) = 12.6 nchan = 16 bbfilt = 32.0 bits = 2 sideband = L,L,L,L, L,L,L,L, L,L,L,L, L,L,L,L netside = L ifchan = B,D,B,D, B,D,B,D, B,D,B,D, B,D,B,D pol = R,L,R,L, R,L,R,L, R,L,R,L, R,L,R,L bbc = 1,2,3,4, 5,6,7,8, 9,10,11,12, 13,14,15,16 bbsyn = 1008.0, 1008.0, 944.0, 944.0, 880.0, 880.0, 816.0, 816.0, 752.0, 752.0, 688.0, 688.0, 624.0, 624.0, 560.0, 560.0 pcal = '5MHz' ! Helps make bands identifiable / endset / ! ========================================================== ! ================= Initial Scan Information ============= ! ========================================================== ! This is set as a fixed time schedule, not an LST schedule. year = 2010 month = 12 day = 3 start = 15:30:00 ! ========================================================== ! ======================== The Scans ===================== ! ========================================================== ! Interferometer schedules ! See comments near setup files for how to switch from ! a Mark5A to a Mark5C schedule. stations = VLBA_HN, VLBA_LA, VLBA_PT, VLBA_BR, VLBA_MK group=18 rep=2 dwell = 4:40 gap = 20 !MARK5A setup = trdbem5a.4cm !MARK5C setup = trdbeb.4cm source = '3C279' / source = '3C279' / source = '3C279' / source = '3C279' / source = '3C279' / source = '3C279' / !MARK5A setup = trdbem5a.6cm !MARK5C setup = trdbe.6cm source = '3C279' / !MARK5A setup = trdbem5a.sx !MARK5C setup = trdbe.sx source = '3C279' / source = '3C279' / !MARK5A setup = trdbem5a.4cm !MARK5C setup = trdbeb.4cm source = 'M84' / source = 'M84' / source = 'M84' / source = 'M84' / source = 'M84' / source = 'M84' / !MARK5A setup = trdbem5a.6cm !MARK5C setup = trdbe.6cm source = 'M84' / !MARK5A setup = trdbem5a.sx !MARK5C setup = trdbe.sx source = 'M84' / source = 'M84' / ! end loop !MARK5A setup = trdbem5a.4cm !MARK5C setup = trdbeb.4cm source = '3C345' dwell = 25:00 / source = 'BLANKSKY' dwell = 5:00 / source = '3C345' dwell = 25:00 / source = 'BLANKSKY' dwell = 5:00 / source = '3C345' dwell = 25:00 /