RT

reaction time thingy
mail@pastecode.io avatar
unknown
plain_text
a month ago
750 B
1
Indexable
Never
cue_right_times = [94, 1598, 495, 418, 686, 236, 132, 266, 251]
cue_left_times = [708, 327, 64, 259, 236, 130, 275, 297]
nocue_right_times = [703, 482, 333, 340, 954, 367, 559, 454, 787, 361, 428, 635]
nocue_left_times = [413, 483, 447, 405, 729, 340, 954, 367, 559, 454, 787, 361, 428, 635, 562, 581, 519, 762, 316, 338]

average_cued_reaction_time = (sum(cue_right_times) + sum(cue_left_times)) / (len(cue_right_times) + len(cue_left_times))
average_no_cue_reaction_time = (sum(nocue_right_times) + sum(nocue_left_times)) / (len(nocue_right_times) + len(nocue_left_times))

print(f"Average Reaction Time for Cued Trials: {average_cued_reaction_time:.2f} ms")
print(f"Average Reaction Time for No Cue Trials: {average_no_cue_reaction_time:.2f} ms")
Leave a Comment