def getConfig(): config_file = Dada.DADA_ROOT + "/share/mopsr.cfg" config = Dada.readCFGFileIntoDict(config_file) ct_config_file = Dada.DADA_ROOT + "/share/mopsr_cornerturn.cfg" ct_config = Dada.readCFGFileIntoDict(ct_config_file) config.update(ct_config) return config
def getConfig(): config_file = Dada.DADA_ROOT + "/share/hispec.cfg" config = Dada.readCFGFileIntoDict(config_file) return config
def getROACHConfig(): roach_config_file = Dada.DADA_ROOT + "/share/roach.cfg" roach_config = Dada.readCFGFileIntoDict(roach_config_file) return roach_config
def getActivePolConfig(beam_name): active_pol_config_file = Dada.DADA_ROOT + "/share/bpsr_active_beams.cfg" active_pol_config = Dada.readCFGFileIntoDict(active_pol_config_file) return active_pol_config["BEAM_" + beam_name + "_p0"] == 'on', \ active_pol_config["BEAM_" + beam_name + "_p1"] == 'on',