97b74b011d7f4e3a144be6417a7285c0fc91fd72,demos/demo_ica.py,,main,#,14

Before Change


    plt.plot(generated_observations)
    plt.show()

    observations = []
    for i in range(generated_observations.shape[1]):
        observations.append(nussl.AudioSignal(audio_data_array=generated_observations[:, i], sample_rate = 44100))

    observations = nussl.ICA.transform_observations_to_audio_signal(observations)

    ica = nussl.ICA(input_audio_signal=observations)
    ica.run()

After Change


    full_signal += 0.2 * np.random.normal(size=full_signal.shape)  // Add noise
    full_signal /= full_signal.std(axis=0)  // Standardize data

    plt.plot(full_signal)
    plt.show()

    // Mix data
    mixing_matrix = np.array([[1, 1, 1], [0.5, 2, 1.0], [1.5, 1.0, 2.0]])  // Mixing matrix
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: interactiveaudiolab/nussl
Commit Name: 97b74b011d7f4e3a144be6417a7285c0fc91fd72
Time: 2017-09-16
Author: ethanmanilow@gmail.com
File Name: demos/demo_ica.py
Class Name:
Method Name: main


Project Name: mne-tools/mne-python
Commit Name: 06298716dc48db52f69496e4248927f90925ee65
Time: 2020-10-22
Author: larson.eric.d@gmail.com
File Name: examples/inverse/plot_evoked_ers_source_power.py
Class Name:
Method Name:


Project Name: pymc-devs/pymc3
Commit Name: 4858a3da74bc14eeaf724c9896bfe77df9451548
Time: 2007-09-13
Author: anand.prabhakar.patil@15d7aa0b-6f1a-0410-991a-d59f85d14984
File Name: PyMC2/tests/test_norm_approx.py
Class Name: test_norm_approx
Method Name: check_draws