# Set up onoff procedure # # This block sets up the non-source specific information needed for # performing an onoff observations # # You will want to change the proc.onduration value # based on how long you want each scan to integrate for. # # You will need to set the proc.ra_offset and proc.dec_offset values # to the appropriate values desired for your observing. # # You will also need to change the sc.switchmode to the appropriate # value: "Total Power", "Total Power, No Cal", "Freq Switch, 01", or # "Beam Switch". Note that with "Freq Switch, 01" you will also need # to uncomment the lo1.ref_freq_1 and lo1.ref_freq_2 lines and add # the values of the offsets for the frequency switching into these # two values # block setuponoff sc.obstype="Spectral Line SPM" ant.coordinatemode="J2000" ant.offsetcoordinatemode="J2000" proc.rarate = 0.0 proc.decrate = 0.0 proc.ra_offset= 80.0 proc.dec_offset=0.0 proc.onduration=300. proc.repeatnumber=1 proc.realtimedisplay="Iards" sc.switchmode="Total Power" # lo1.ref_freq_1 = 0 # lo1.ref_freq_1 = 2.5 end # # this block adds the source specific information. You can have many # of these blocks but each needs a unique name without special characters # or numbers. # # You will want to change the lo1.defvel to either "Radio" or "Optical" # # You will want to change the lo1.refframe to either "Local", "Barycentric", # "Heliocentric", or "LSR". Note that Local is Topocentric. # # You should change the srcvel also. # # You should change the spm.requestedintegrationtime and the spm.switchperiod # to the value that you desire. # block onoffsource setuponoff sc.sourcename="Bogus A" ra="01:02:03.456" dec="-55:66:77.88" lo1.restfreq=26523.5 lo1.defvel="RADIO" lo1.refframe="Barycentric" lo1.srcvel = 0.0 spm.requestedintegrationtime=10 spm.switchperiod=1.0 onoff end # This is the line you will acutally run onoffsource