Skip to content
This repository was archived by the owner on Jan 27, 2023. It is now read-only.

Commit 7961566

Browse files
author
Antonio Ulloa
committed
erased comments that were not needed anymore
1 parent d45578d commit 7961566

File tree

4 files changed

+356
-173
lines changed

4 files changed

+356
-173
lines changed

analysis/compute_PSC.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -434,12 +434,12 @@
434434
rects_fs_dms = ax.bar(index + width*6, BOLD_fs_dms_avg, width, color='orange',
435435
label='FS during DMS', yerr=BOLD_fs_dms_std)
436436
rects_fs_ctl = ax.bar(index + width*7, BOLD_fs_ctl_avg, width, color='orange', edgecolor='black', hatch='//',
437-
label='FS during DMS', yerr=BOLD_fs_ctl_std)
437+
label='FS during CTL', yerr=BOLD_fs_ctl_std)
438438

439439
rects_d1_dms = ax.bar(index + width*8, BOLD_d1_dms_avg, width, color='red',
440440
label='D1 during DMS', yerr=BOLD_d1_dms_std)
441441
rects_d1_ctl = ax.bar(index + width*9, BOLD_d1_ctl_avg, width, color='red', edgecolor='black', hatch='//',
442-
label='D1 during DMS', yerr=BOLD_d1_ctl_std)
442+
label='D1 during CTL', yerr=BOLD_d1_ctl_std)
443443

444444
rects_d2_dms = ax.bar(index + width*10, BOLD_d2_dms_avg, width, color='pink',
445445
label='D2 during DMS', yerr=BOLD_d2_dms_std)
@@ -460,7 +460,7 @@
460460

461461
# Shrink current axis by 10% to make space for legend
462462
box = ax.get_position()
463-
ax.set_position([box.x0, box.y0, box.width * 0.9, box.height])
463+
ax.set_position([box.x0, box.y0, box.width * 0.85, box.height])
464464

465465
# place a legend to the right of the figure
466466
plt.legend(loc='center left', bbox_to_anchor=(1.02, .5))

auditory_model/script_to_replicate_Husain_2004.py

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,10 @@
2323
# we are assuming that each simulation timestep is equivalent to 5 milliseconds
2424
# of real time.
2525
#
26-
# We present stimuli to the visual LSNM network by manually inserting it into the MGN module
27-
# and leaving the stimuli there for 200 timesteps (1 second).
26+
# We present stimuli to the auditory LSNM network by manually inserting it into the LGN module
27+
# and leaving the stimuli there for 100 timesteps (500 ms).
2828

2929
# define the simulation time in total number of timesteps
30-
# Each timestep is roughly equivalent to 5ms
3130
LSNM_simulation_time = 1700
3231

3332
# Define list of parameters the script is going to need to modify the LSNM neural network
@@ -356,29 +355,30 @@ def intertrial_interval(modules, script_params):
356355
'0' : intertrial_interval,
357356

358357
####### FIRST BLOCK OF 4 DMS TRIALS (MATCH, MISMATCH, MISMATCH, MATCH)
359-
'100': s2_down_01,
360-
'110': s2_down_02,
361-
'120': s2_down_03,
362-
'130': s2_down_04,
363-
'140': s2_down_05,
364-
'150': s2_up_01,
365-
'160': s2_up_02,
366-
'170': s2_up_03,
367-
'180': s2_up_04,
368-
'190': s2_up_05,
358+
359+
'100': s1_up_01,
360+
'110': s1_up_02,
361+
'120': s1_up_03,
362+
'130': s1_up_04,
363+
'140': s1_up_05,
364+
'150': s1_down_01,
365+
'160': s1_down_02,
366+
'170': s1_down_03,
367+
'180': s1_down_04,
368+
'190': s1_down_05,
369369

370370
'200': delay_period,
371371

372-
'400': s1_up_01,
373-
'410': s1_up_02,
374-
'420': s1_up_03,
375-
'430': s1_up_04,
376-
'440': s1_up_05,
377-
'450': s1_down_01,
378-
'460': s1_down_02,
379-
'470': s1_down_03,
380-
'480': s1_down_04,
381-
'490': s1_down_05,
372+
'400': s2_down_01,
373+
'410': s2_down_02,
374+
'420': s2_down_03,
375+
'430': s2_down_04,
376+
'440': s2_down_05,
377+
'450': s2_up_01,
378+
'460': s2_up_02,
379+
'470': s2_up_03,
380+
'480': s2_up_04,
381+
'490': s2_up_05,
382382

383383
'500': intertrial_interval,
384384

0 commit comments

Comments
 (0)