Exemplo n.º 1
0
    def __init__(self, name, id):
        Daemon.__init__(self, name, str(id))
        StreamBased.__init__(self, id, self.cfg)

        self.configured = False
        self.running = False
        self.local_config = []
Exemplo n.º 2
0
  def __init__ (self, name, id):
    Daemon.__init__(self, name, str(id))
    StreamBased.__init__(self, id, self.cfg)

    self.configured = False
    self.running = False
    self.local_config = []
    def __init__(self, name, id):
        Daemon.__init__(self, name, str(id))
        StreamBased.__init__(self, id, self.cfg)

        self.valid_plots = []
        self.results = {}

        self.results["lock"] = threading.Lock()
        self.results["valid"] = False

        (host, beam_id, sub_id) = self.cfg["STREAM_" + id].split(":")
        self.beam = self.cfg["BEAM_" + beam_id]

        (cfreq, bw, nchan) = self.cfg["SUBBAND_CONFIG_" + sub_id].split(":")
        self.cfreq = cfreq

        self.proc_dir = self.cfg["CLIENT_PREPROC_DIR"] + "/processing/" + \
            self.beam
        self.fin_dir = self.cfg["CLIENT_PREPROC_DIR"] + "/finished/" + \
            self.beam
        self.send_dir = self.cfg["CLIENT_PREPROC_DIR"] + "/send/" + \
            self.beam
        self.fail_dir = self.cfg["CLIENT_PREPROC_DIR"] + "/failed/" + \
            self.beam

        self.dirty_valid = False
        self.cleaned_valid = False
        self.gains_valid = False
Exemplo n.º 4
0
  def __init__ (self, name, id):
    Daemon.__init__(self, name, str(id))
    StreamBased.__init__(self, id, self.cfg)

    self.processing_dir = self.cfg["CLIENT_STATS_DIR"]
    self.valid_plots = []
    self.results = {}

    self.results["lock"] = threading.Lock()
    self.results["valid"] = False

    self.results["hg_npol"] = self.cfg["NPOL"]
    self.results["hg_ndim"] = self.cfg["NDIM"]


    (host, beam_id, subband_id) = self.cfg["STREAM_" + id].split(":")
    self.beam_name = self.cfg["BEAM_" + beam_id]

    (cfreq, bw, nchan) = self.cfg["SUBBAND_CONFIG_" + subband_id].split(":")
    self.cfreq = cfreq

    self.gen_timeseries = True
    self.gen_freqtime = True
    self.gen_bandpass = True
    self.gen_histogram = True

    self.hg_valid = False
    self.ft_valid = False
    self.bp_valid = False
    self.ms_valid = False
    self.ts_valid = False

    self.pref_freq = 0
    self.histogram_abs_xmax = 128
Exemplo n.º 5
0
    def __init__(self, name, id):
        Daemon.__init__(self, name, str(id))
        StreamBased.__init__(self, id, self.cfg)

        self.valid_plots = []
        self.results = {}

        self.results["lock"] = threading.Lock()
        self.results["valid"] = False

        (host, beam_id, sub_id) = self.cfg["STREAM_" + id].split(":")
        self.beam = self.cfg["BEAM_" + beam_id]

        (cfreq, bw, nchan) = self.cfg["SUBBAND_CONFIG_" + sub_id].split(":")
        self.cfreq = cfreq

        self.proc_dir = self.cfg["CLIENT_PREPROC_DIR"] + "/processing/" + \
            self.beam
        self.fin_dir = self.cfg["CLIENT_PREPROC_DIR"] + "/finished/" + \
            self.beam
        self.send_dir = self.cfg["CLIENT_PREPROC_DIR"] + "/send/" + \
            self.beam
        self.fail_dir = self.cfg["CLIENT_PREPROC_DIR"] + "/failed/" + \
            self.beam

        self.dirty_valid = False
        self.cleaned_valid = False
        self.gains_valid = False
Exemplo n.º 6
0
    def __init__(self, name, id):
        Daemon.__init__(self, name, str(id))
        StreamBased.__init__(self, id, self.cfg)

        self.processing_dir = self.cfg["CLIENT_STATS_DIR"]
        self.valid_plots = []
        self.results = {}

        self.results["lock"] = threading.Lock()
        self.results["valid"] = False

        self.results["hg_npol"] = self.cfg["NPOL"]
        self.results["hg_ndim"] = self.cfg["NDIM"]

        (host, beam_id, subband_id) = self.cfg["STREAM_" + id].split(":")
        self.beam_name = self.cfg["BEAM_" + beam_id]

        (cfreq, bw,
         nchan) = self.cfg["SUBBAND_CONFIG_" + subband_id].split(":")
        self.cfreq = cfreq

        self.gen_timeseries = True
        self.gen_freqtime = True
        self.gen_bandpass = True
        self.gen_histogram = True

        self.hg_valid = False
        self.ft_valid = False
        self.bp_valid = False
        self.ms_valid = False
        self.ts_valid = False

        self.pref_freq = 0
        self.histogram_abs_xmax = 128
Exemplo n.º 7
0
 def __init__ (self, name, id):
   Daemon.__init__(self, name, str(id))
   StreamBased.__init__(self, id, self.cfg)
Exemplo n.º 8
0
 def __init__(self, name, id):
     Daemon.__init__(self, name, str(id))
     StreamBased.__init__(self, id, self.cfg)
Exemplo n.º 9
0
 def __init__(self, name, id):
     UWBCleanerDaemon.__init__(self, name, str(id))
     StreamBased.__init__(self, str(id), self.cfg)
Exemplo n.º 10
0
 def __init__(self, name, id):
     RepackSearchDaemon.__init__(self, name, str(id))
     StreamBased.__init__(self, str(id), self.cfg)
Exemplo n.º 11
0
 def __init__ (self, name, id):
   MeerKATCleanerDaemon.__init__(self, name, str(id))
   StreamBased.__init__(self, str(id), self.cfg)
Exemplo n.º 12
0
 def __init__ (self, name, id):
   UWBArchiverDaemon.__init__(self, name, str(id))
   StreamBased.__init__(self, str(id), self.cfg)