Skip to content

BmBaczkowski/alise-ptb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

alise-ptb

Octave Psychtoolbox License: MIT

Description

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.

Files

  • 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.

Dependencies

  • Psychtoolbox
  • EyeLink
  • Parallel port (Digitimer)
  • Instrument Control Package (for Octave)

Usage

To run the experiments, ensure the alise script has execute permissions. You can grant execute permissions using the following command:

chmod +x alise

Once the script is executable, you can run the experiments from the terminal using the following commands:

  1. Shock Calibration: Run ./alise calibration to calibrate shocks.
  2. Conditioning Experiment: Run ./alise conditioning to conduct the conditioning task.
  3. Generalization Experiment: Run ./alise generalisation to conduct the generalization task.

Documentation

Each script includes detailed comments and usage instructions. Refer to the header of each file for more information.

Author

Blazej M. Baczkowski

Date

~2021

License

This project is licensed under the MIT License.

About

A legacy collection of Psychtoolbox scripts for interfacing with Digitimer and EyeLink hardware.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages