We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1bd4a67 commit 5c8c5f1Copy full SHA for 5c8c5f1
src/ethopy/experiments/match_port.py
@@ -56,6 +56,7 @@ class Experiment(State, ExperimentClass):
56
"punish_duration": 1000,
57
"abort_duration": 0,
58
"noresponse_intertrial": True,
59
+ "incremental_punishment" : 0,
60
**ExperimentClass.Block().dict(),
61
}
62
@@ -184,7 +185,7 @@ def entry(self):
184
185
self.beh.punish()
186
super().entry()
187
self.punish_period = self.stim.curr_cond["punish_duration"]
- if self.params.get("incremental_punishment"):
188
+ if self.curr_cond["incremental_punishment"]:
189
self.punish_period *= self.beh.get_false_history()
190
self.stim.punish_stim()
191
0 commit comments