nussl/evaluation/bss_eval.py
def preprocess(self):
        """
        Scale invariant metrics expects zero-mean centered references and sources.
        """
        references, estimates = super().preprocess()

        mixture = references.sum(axis=-1)
        mixture -= mixture.mean(axis=0)

        self.mixture = mixture
        references -= references.mean(axis=0)
        estimates -= estimates.mean(axis=0)

        return references, estimates

        Scale invariant metrics expects zero-mean centered references and sources.
        
Scale invariant metrics expects zero-mean centered references and sources.
Scale invariant metrics expects zero - mean centered references and sources .
def preprocess(self):
        references, estimates = super().preprocess()
        mixture = references.sum(axis=-1)
        mixture -= mixture.mean(axis=0)
        self.mixture = mixture
        references -= references.mean(axis=0)
        estimates -= estimates.mean(axis=0)
        return references, estimates
def preprocess ( self ) : references , estimates = super ( ) . preprocess ( ) mixture = references . sum ( axis = - 1 ) mixture -= mixture . mean ( axis = 0 ) self . mixture = mixture references -= references . mean ( axis = 0 ) estimates -= estimates . mean ( axis = 0 ) return references , estimates
Scale invariant metrics expects zero-mean centered references and sources.
Scale invariant metrics expects zero - mean centered references and sources .
"""
        Scale invariant metrics expects zero-mean centered references and sources.
        """
self