@@ -63,10 +63,40 @@ class TaskQC(base.QC):
6363 """A class for computing task QC metrics"""
6464 criteria = {"PASS" : 0.99 , "WARNING" : 0.95 , "FAIL" : 0 }
6565 fcns_value2status = {'default' : lambda x : TaskQC ._thresholding (x ),
66- '_task_stimFreeze_delays' : lambda x : - 1 ,
67- '_task_response_stimFreeze_delays' : lambda x : - 1 ,
68- '_task_passed_trial_checks' : lambda x : - 1 ,
69- '_task_iti_delays' : lambda x : - 1 }
66+ # '_task_stimFreeze_delays': lambda x: - 1,
67+ # '_task_response_stimFreeze_delays': lambda x: -1,
68+ # '_task_passed_trial_checks': lambda x: -1,
69+ # '_task_iti_delays': lambda x: -1,
70+ '_task_stimOff_itiIn_delays' : lambda x :
71+ TaskQC ._thresholding (x , thresholds = {"PASS" : 0.99 , "WARNING" : 0 }),
72+ '_task_positive_feedback_stimOff_delays' : lambda x :
73+ TaskQC ._thresholding (x , thresholds = {"PASS" : 0.99 , "WARNING" : 0 }),
74+ '_task_negative_feedback_stimOff_delays' : lambda x :
75+ TaskQC ._thresholding (x , thresholds = {"PASS" : 0.99 , "WARNING" : 0 }),
76+ '_task_wheel_move_during_closed_loop' : lambda x :
77+ TaskQC ._thresholding (x , thresholds = {"PASS" : 0.99 , "WARNING" : 0 }),
78+ '_task_response_stimFreeze_delays' : lambda x :
79+ TaskQC ._thresholding (x , thresholds = {"PASS" : 0.99 , "WARNING" : 0 }),
80+ '_task_detected_wheel_moves' : lambda x :
81+ TaskQC ._thresholding (x , thresholds = {"PASS" : 0.99 , "WARNING" : 0 }),
82+ '_task_trial_length' : lambda x :
83+ TaskQC ._thresholding (x , thresholds = {"PASS" : 0.99 , "WARNING" : 0 }),
84+ '_task_goCue_delays' : lambda x :
85+ TaskQC ._thresholding (x , thresholds = {"PASS" : 0.99 , "WARNING" : 0 }),
86+ '_task_errorCue_delays' : lambda x :
87+ TaskQC ._thresholding (x , thresholds = {"PASS" : 0.99 , "WARNING" : 0 }),
88+ '_task_stimOn_delays' : lambda x :
89+ TaskQC ._thresholding (x , thresholds = {"PASS" : 0.99 , "WARNING" : 0 }),
90+ '_task_stimOff_delays' : lambda x :
91+ TaskQC ._thresholding (x , thresholds = {"PASS" : 0.99 , "WARNING" : 0 }),
92+ '_task_iti_delays' : lambda x :
93+ TaskQC ._thresholding (x , thresholds = {"PASS" : 0.99 , "WARNING" : 0 }),
94+ '_task_stimFreeze_delays' : lambda x :
95+ TaskQC ._thresholding (x , thresholds = {"PASS" : 0.99 , "WARNING" : 0 }),
96+ '_task_wheel_integrity' : lambda x :
97+ TaskQC ._thresholding (x , thresholds = {"PASS" : 0.99 , "WARNING" : 0 }),
98+ '_task_passed_trial_checks' : lambda x : - 1 # thresholds={"PASS": 0.90, "WARNING": 0}
99+ }
70100
71101 @staticmethod
72102 def _thresholding (qc_value , thresholds = None ):
0 commit comments