A collection of Octave scripts designed to conduct ALISE experiment using Psychtoolbox. This repository provides helper functions to interface with hardware such as the Digitimer for shock calibration and the EyeLink eye tracker for measuring pupil size.
alise: Main script to run experiments from the terminal. It allows you to start specific tasks (conditioning, generalization, or calibration) by passing arguments.calibShocks.m: Runs shock calibration using PTB and a parallel port.conditioning.m: Runs a conditioning task with visual stimuli and shock delivery.generalisation.m: Runs a generalization task with visual stimuli and shock delivery.utils/: Contains utility functions for the experiments, including helper functions for parallel port communication, EyeLink integration, and data transfer.
- Psychtoolbox
- EyeLink
- Parallel port (Digitimer)
- Instrument Control Package (for Octave)
To run the experiments, ensure the alise script has execute permissions. You can grant execute permissions using the following command:
chmod +x aliseOnce the script is executable, you can run the experiments from the terminal using the following commands:
- Shock Calibration: Run
./alise calibrationto calibrate shocks. - Conditioning Experiment: Run
./alise conditioningto conduct the conditioning task. - Generalization Experiment: Run
./alise generalisationto conduct the generalization task.
Each script includes detailed comments and usage instructions. Refer to the header of each file for more information.
Blazej M. Baczkowski
~2021
This project is licensed under the MIT License.