„decoding_tf_analysis.py“ ändern
This commit is contained in:
@@ -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
|
:param compute_tfr: If True the TFRs will be created, else the TFRs will be loaded from a precomputed file
|
||||||
"""
|
"""
|
||||||
# Parameters
|
# Parameters
|
||||||
# freqs = np.linspace(0.1, 50, num=50) # Use this for linear space scaling
|
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.logspace(*np.log10([0.1, 50]), num=50)
|
||||||
n_cycles = freqs / 2
|
n_cycles = freqs / 2
|
||||||
cond1 = []
|
cond1 = []
|
||||||
cond2 = []
|
cond2 = []
|
||||||
@@ -252,4 +252,4 @@ if __name__ == '__main__':
|
|||||||
mne.set_log_level(verbose=VERBOSE_LEVEL)
|
mne.set_log_level(verbose=VERBOSE_LEVEL)
|
||||||
ds = 'N170'
|
ds = 'N170'
|
||||||
decoding(ds, 'faces_vs_cars', True)
|
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)
|
||||||
|
|||||||
Reference in New Issue
Block a user