def post_process(self):
#spectrogram = self.parents()[0]['spectrogram_analyzer'].data
- spectrogram = self.pipe._results['spectrogram_analyzer'].data
+ spectrogram = self.pipe.results['spectrogram_analyzer'].data
#spectrogram = self.pipe._results[self.parents()[0].id]
# Low-pass filtering of the spectrogram amplitude along the time axis
def __ior__(self, other):
if isinstance(other, Processor):
- self |= other.parents
+ parents = other.parents
+ if parents:
+ for parent in parents:
+ self |= parent
self.processors.append(other)
elif isinstance(other, ProcessPipe):
self.processors.extend(other.processors)