nussl/separation/factorization/ica.py
def audio_signal(self, audio_signals):
        """
        Takes a list of audio signals and constructs a single multichannel audio signal
        object.

        Args:
            audio_signal (list or AudioSignal): Either a multichannel audio signal,
              or a list of AudioSignals containing the observations.
        """

        if isinstance(audio_signals, list):
            audio_signals = utils.verify_audio_signal_list_strict(audio_signals)
            audio_data = np.vstack([s.audio_data for s in audio_signals])
            audio_signal = audio_signals[0].make_copy_with_audio_data(audio_data)
            self._audio_signal = audio_signal
        elif isinstance(audio_signals, AudioSignal):
            self._audio_signal = copy.deepcopy(audio_signals)

        Takes a list of audio signals and constructs a single multichannel audio signal
        object.

        Args:
            audio_signal (list or AudioSignal): Either a multichannel audio signal,
              or a list of AudioSignals containing the observations.
        
Takes a list of audio signals and constructs a single multichannel audio signal
object.
Takes a list of audio signals and constructs a single multichannel audio signal object .
def audio_signal(self, audio_signals):
        if isinstance(audio_signals, list):
            audio_signals = utils.verify_audio_signal_list_strict(audio_signals)
            audio_data = np.vstack([s.audio_data for s in audio_signals])
            audio_signal = audio_signals[0].make_copy_with_audio_data(audio_data)
            self._audio_signal = audio_signal
        elif isinstance(audio_signals, AudioSignal):
            self._audio_signal = copy.deepcopy(audio_signals)
def audio_signal ( self , audio_signals ) : if isinstance ( audio_signals , list ) : audio_signals = utils . verify_audio_signal_list_strict ( audio_signals ) audio_data = np . vstack ( [ s . audio_data for s in audio_signals ] ) audio_signal = audio_signals [ 0 ] . make_copy_with_audio_data ( audio_data ) self . _audio_signal = audio_signal elif isinstance ( audio_signals , AudioSignal ) : self . _audio_signal = copy . deepcopy ( audio_signals )
Takes a list of audio signals and constructs a single multichannel audio signal
object.
Takes a list of audio signals and constructs a single multichannel audio signal object .
"""
        Takes a list of audio signals and constructs a single multichannel audio signal
        object.

        Args:
            audio_signal (list or AudioSignal): Either a multichannel audio signal,
              or a list of AudioSignals containing the observations.
        """
self
audio_signals
audio_signal
Either a multichannel audio signal,
or a list of AudioSignals containing the observations.
Either a multichannel audio signal or a list of AudioSignals containing the observations .