nussl/evaluation/bss_eval.py
def preprocess(self):
        """
        Implements preprocess by stacking the audio_data inside each AudioSignal
        object in both self.true_sources_list and self.estimated_sources_list.
        
        Returns:
            tuple: Tuple containing reference and estimate arrays.
        """
        references = np.stack(
            [x.audio_data for x in self.true_sources_list],
            axis=-1
        )
        estimates = np.stack(
            [x.audio_data for x in self.estimated_sources_list],
            axis=-1
        )
        return references.transpose((1, 0, 2)), estimates.transpose((1, 0, 2))

        Implements preprocess by stacking the audio_data inside each AudioSignal
        object in both self.true_sources_list and self.estimated_sources_list.
        
        Returns:
            tuple: Tuple containing reference and estimate arrays.
        
Implements preprocess by stacking the audio_data inside each AudioSignal
object in both self.true_sources_list and self.estimated_sources_list.
Implements preprocess by stacking the audio_data inside each AudioSignal object in both self . true_sources_list and self . estimated_sources_list .
def preprocess(self):
        references = np.stack(
            [x.audio_data for x in self.true_sources_list],
            axis=-1
        )
        estimates = np.stack(
            [x.audio_data for x in self.estimated_sources_list],
            axis=-1
        )
        return references.transpose((1, 0, 2)), estimates.transpose((1, 0, 2))
def preprocess ( self ) : references = np . stack ( [ x . audio_data for x in self . true_sources_list ] , axis = - 1 ) estimates = np . stack ( [ x . audio_data for x in self . estimated_sources_list ] , axis = - 1 ) return references . transpose ( ( 1 , 0 , 2 ) ) , estimates . transpose ( ( 1 , 0 , 2 ) )
Implements preprocess by stacking the audio_data inside each AudioSignal
object in both self.true_sources_list and self.estimated_sources_list.
Implements preprocess by stacking the audio_data inside each AudioSignal object in both self . true_sources_list and self . estimated_sources_list .
"""
        Implements preprocess by stacking the audio_data inside each AudioSignal
        object in both self.true_sources_list and self.estimated_sources_list.
        
        Returns:
            tuple: Tuple containing reference and estimate arrays.
        """
Tuple containing reference and estimate arrays.
Tuple containing reference and estimate arrays .
tuple
self