|
@@ -2,7 +2,7 @@
|
|
|
# -*- coding: utf-8 -*-
|
|
|
"""
|
|
|
This experiment was created using PsychoPy3 Experiment Builder (v2023.2.3),
|
|
|
- on 十一月 29, 2023, at 12:36
|
|
|
+ on Wed Dec 6 17:50:50 2023
|
|
|
If you publish work using this script the most relevant publication is:
|
|
|
|
|
|
Peirce J, Gray JR, Simpson S, MacAskill M, Höchenberger R, Sogo H, Kastman E, Lindeløv JK. (2019)
|
|
@@ -93,13 +93,6 @@ def parse_args():
|
|
|
type=float
|
|
|
)
|
|
|
parser.add_argument(
|
|
|
- '--state-change-threshold',
|
|
|
- '-scth',
|
|
|
- dest='state_change_threshold',
|
|
|
- help='Threshold for HMM state change',
|
|
|
- type=float
|
|
|
- )
|
|
|
- parser.add_argument(
|
|
|
'--difficulty',
|
|
|
help='Task difficultys',
|
|
|
type=str
|
|
@@ -131,8 +124,7 @@ if args.hand_feedback:
|
|
|
|
|
|
# build bci controller
|
|
|
controller = Controller(args.virtual_feedback_rate,
|
|
|
- args.model_path,
|
|
|
- state_change_threshold=args.state_change_threshold)
|
|
|
+ args.model_path)
|
|
|
# Run 'Before Experiment' code from decision
|
|
|
cnt_threshold_table = {
|
|
|
'easy': 3,
|
|
@@ -217,7 +209,7 @@ def setupData(expInfo, dataDir=None):
|
|
|
thisExp = data.ExperimentHandler(
|
|
|
name=expName, version='',
|
|
|
extraInfo=expInfo, runtimeInfo=None,
|
|
|
- originPath='C:\\Users\\asena\\Desktop\\kraken\\backend\\general_grasp_training.py',
|
|
|
+ originPath='/Users/dingkunliu/Projects/MI-BCI-Proj/kraken/backend/general_grasp_training.py',
|
|
|
savePickle=True, saveWideText=True,
|
|
|
dataFileName=dataDir + os.sep + filename, sortColumns='time'
|
|
|
)
|