def getDCRContinuumParams(config, ifSys): "Set obvious manager parameters for these types of observations" ifPaths = ifSys.ifPaths # simple enough! motorRack = ('MotorRack,receiver', config['receiver']) dcr = getDCRParams(config, ifPaths) scSubsystem = getScanCoordinatorDCRContinuumSysParams(config) # TBF: are these correct? tuningFreq = ifSys.tuningFreq #config['restfreq'] centerFreq = str(config['center_freq']) velocity = ifSys.velocity # 0. vdef = ifSys.vdef #config['vdef'] rxMgr = Receiver( config, ifSys ) #tuning_freq=tuningFreq, bw_total=ifSys.bwTotal, if_center=tuningFreq) rxMgr.setParams() # s12 = 4 s12 = None lo1 = LO1(config, tuningFreq, centerFreq, velocity, vdef, s12_value=s12) ifRack = IFRack(config, ifSys, rxMgr) # TBF: why is this singled out to be called last in config tool? ifRack.set_laser_power() # TBF: what else? # put them together params = [ motorRack, ] params.extend(dcr) params.extend(scSubsystem) params.extend(rxMgr.getParams()) params.extend(lo1.getParams()) params.extend(ifRack.getParams()) return params