From a5b97a3a659a5f85a53fc8fecf352bce60d99058 Mon Sep 17 00:00:00 2001 From: Julius Date: Sun, 28 Mar 2021 20:14:00 +0200 Subject: [PATCH] =?UTF-8?q?=E2=80=9Edecoding=5Ftf=5Fanalysis.py=E2=80=9C?= =?UTF-8?q?=20=C3=A4ndern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- decoding_tf_analysis.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/decoding_tf_analysis.py b/decoding_tf_analysis.py index 1b03368..ae36b07 100644 --- a/decoding_tf_analysis.py +++ b/decoding_tf_analysis.py @@ -193,8 +193,8 @@ def time_frequency(dataset, filename, compute_tfr=True): :param compute_tfr: If True the TFRs will be created, else the TFRs will be loaded from a precomputed file """ # Parameters - # freqs = np.linspace(0.1, 50, num=50) # Use this for linear space scaling - freqs = np.logspace(*np.log10([0.1, 50]), num=50) + freqs = np.linspace(0.1, 50, num=50) # Use this for linear space scaling + # freqs = np.logspace(*np.log10([0.1, 50]), num=50) n_cycles = freqs / 2 cond1 = [] cond2 = [] @@ -252,4 +252,4 @@ if __name__ == '__main__': mne.set_log_level(verbose=VERBOSE_LEVEL) ds = 'N170' decoding(ds, 'faces_vs_cars', True) - time_frequency(ds, 'face_intact_vs_all_0.1_50hz_ncf2', True) + time_frequency(ds, 'face_intact_vs_all_0.1_50hz_ncf2_linscale', True)