Loading minke/mdctools.py +5 −2 Original line number Diff line number Diff line Loading @@ -86,6 +86,7 @@ class MDCSet(): The waveform which should be added to the MDC set. """ del waveform.row self.waveforms.append(waveform) self.times = np.append(self.times, waveform.time) Loading Loading @@ -196,7 +197,7 @@ class MDCSet(): print a, getattr(row,a) continue # the structure is different than the TableRow try: self.swig_row.numrel_data = row.numrel_data swig_row.numrel_data = row.numrel_data except: pass hp, hx = lalburst.GenerateSimBurst(swig_row, 1.0/rate) Loading @@ -204,7 +205,9 @@ class MDCSet(): # DW: I tried that, and it doesn't seem to work :/ hp0, hx0 = lalburst.GenerateSimBurst(swig_row, 1.0/rate) self.hp, self.hx, self.hp0, self.hx0 = hp, hx, hp0, hx0 lalburst.DestroySimBurst(swig_row) #lalburst.DestroySimBurst(swig_row) del swig_row def _getDetector(self, det): """ Loading Loading
minke/mdctools.py +5 −2 Original line number Diff line number Diff line Loading @@ -86,6 +86,7 @@ class MDCSet(): The waveform which should be added to the MDC set. """ del waveform.row self.waveforms.append(waveform) self.times = np.append(self.times, waveform.time) Loading Loading @@ -196,7 +197,7 @@ class MDCSet(): print a, getattr(row,a) continue # the structure is different than the TableRow try: self.swig_row.numrel_data = row.numrel_data swig_row.numrel_data = row.numrel_data except: pass hp, hx = lalburst.GenerateSimBurst(swig_row, 1.0/rate) Loading @@ -204,7 +205,9 @@ class MDCSet(): # DW: I tried that, and it doesn't seem to work :/ hp0, hx0 = lalburst.GenerateSimBurst(swig_row, 1.0/rate) self.hp, self.hx, self.hp0, self.hx0 = hp, hx, hp0, hx0 lalburst.DestroySimBurst(swig_row) #lalburst.DestroySimBurst(swig_row) del swig_row def _getDetector(self, det): """ Loading