This is an automated email from the git hooks/post-receive script. yoh pushed a commit to annotated tag v0.1 in repository python-mne.
commit 26c2dafce71c6ef0cd122e112a591d366fd69017 Author: Alexandre Gramfort <[email protected]> Date: Sat Mar 12 14:47:22 2011 -0500 cosmit renaming --- examples/stats/plot_cluster_stats_time_frequency.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/examples/stats/plot_cluster_stats_time_frequency.py b/examples/stats/plot_cluster_stats_time_frequency.py index 11e81ad..04f497b 100644 --- a/examples/stats/plot_cluster_stats_time_frequency.py +++ b/examples/stats/plot_cluster_stats_time_frequency.py @@ -65,21 +65,21 @@ times = 1e3 * epochs_condition_1.times # change unit to ms frequencies = np.arange(7, 30, 3) # define frequencies of interest Fs = raw.info['sfreq'] # sampling in Hz -epochs_coefs_1 = single_trial_power(data_condition_1, Fs=Fs, +epochs_power_1 = single_trial_power(data_condition_1, Fs=Fs, frequencies=frequencies, n_cycles=2, use_fft=False) -epochs_coefs_2 = single_trial_power(data_condition_2, Fs=Fs, +epochs_power_2 = single_trial_power(data_condition_2, Fs=Fs, frequencies=frequencies, n_cycles=2, use_fft=False) -epochs_coefs_1 = epochs_coefs_1[:,0,:,:] # only 1 channel to get a 3D matrix -epochs_coefs_2 = epochs_coefs_2[:,0,:,:] # only 1 channel to get a 3D matrix +epochs_power_1 = epochs_power_1[:,0,:,:] # only 1 channel to get a 3D matrix +epochs_power_2 = epochs_power_2[:,0,:,:] # only 1 channel to get a 3D matrix ############################################################################### # Compute statistic threshold = 6.0 T_obs, clusters, cluster_p_values, H0 = \ - permutation_cluster_test([epochs_coefs_1, epochs_coefs_2], + permutation_cluster_test([epochs_power_1, epochs_power_2], n_permutations=100, threshold=threshold, tail=0) ############################################################################### -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/python-mne.git _______________________________________________ debian-med-commit mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit
