/HAB

Habituation (HAB) studies in Matlab.

Primary LanguageMATLAB

HAB

Run an auditory Habituation (HAB) study in Matlab with minimal configuration. Uses a checkerboard to engage the infant while listening to alternating or non-alternating sounds.

How to use HAB

Download HAB

  • Download hab and the example "pdisc" study folder
  • Create a folder in your Matlab directory and place these files inside of it
  • Add this folder to your list of Matlab paths

Create a new study

  • Copy the example study folder, "pdisc", into a subfolder of your main HAB directory
  • Modify config.txt with the configuration options for the new study
  • Modify the stimuli in the stimuli sub-folder.

Run a session

  • Load Matlab
  • Type hab in the command prompt
  • Select your new study folder and click "Open"
  • Follow on-screen prompts (e.g., enter the experimenter's name, infant's subject code, age, etc.)
  • Code the infant's looking using the DownArrow (for a center look).
  • A log for the session will be created in the logs sub-folder
  • A session file (with looking time results, participant details, and session metadata) will be created in the sessions sub-folder

Author, Copyright, & Citation

All original code written by and copyright (2013), Brock Ferguson. I am a researcher at Northwestern University study infant conceptual development and language acquisition.

You can cite this software using:

Ferguson, B. (2013). Auditory Habituation (HAB) for Matlab. Retrieved from https://github.com/brockf/HAB.

This code is completely dependent on the PsychToolbox library for Matlab. You should absolutely cite them if you use this library:

Brainard, D. H. (1997) The Psychophysics Toolbox, Spatial Vision 10:433-436.

Pelli, D. G. (1997) The VideoToolbox software for visual psychophysics: Transforming numbers into movies, Spatial Vision 10:437-442.

Kleiner M, Brainard D, Pelli D, 2007, "What's new in Psychtoolbox-3?" Perception 36 ECVP Abstract Supplement.