Model experiment code
In Fall 2020, Chris made a model experiment which tries to accomplish two tasks: 1. Serve as a template for future experiments, and 2. Be a learning tool for lab members wanting to make their own experiments.
The code for the model experiment is publicly available on GitHub in carrien/free-speech/templates/modelExpt/. Here is a hyperlink.
If you are working on a lab computer, you can also access the model experiment by executing this in the Matlab command window: open run_modelExpt_expt; open run_modelExpt_audapter; open run_modelComp_expt; open run_modelComp_audapter. The same commands can be used for any computer that has the free-speech repo on the Matlab path.
The original model experiment, modelExpt, is an adaptation experiment, with phases for baseline, ramp, hold, and washout. Later, we made a model compensation experiment, modelComp, which intersperses perturbation direction from one trial to the next, so participants do not learn a general change in behavior.