def _execute(self, m_signal, meta=None): m_vector = tools.to_vector(m_signal, self.m_channels) s_vector = (m_vector[0] + m_vector[1], m_vector[0] * m_vector[1]) return tools.to_signal(s_vector, self.s_channels)
def _execute(self, m_signal, meta=None): m_vector = tools.to_vector(m_signal, self.m_channels) s_vector = (m_vector[0] + m_vector[1], m_vector[0]*m_vector[1]) return tools.to_signal(s_vector, self.s_channels)
def _execute(self, m_signal, meta=None): m_vector = np.array([[m_signal[c.name] for c in self.m_channels]]) s_vector = ((self.m * m_vector.T).T)[0] s_signal = tools.to_signal(s_vector, s_channels) return s_signal
def _execute(self, m_signal, meta=None): m_vector = np.array([[m_signal[c.name] for c in self.m_channels]]) s_vector = ((self.m*m_vector.T).T)[0] s_signal = tools.to_signal(s_vector, s_channels) return s_signal