Skip to content
/ ANT Public

A KLibs implementation of the Attention Network Test based on Fan et al. (2002)

Notifications You must be signed in to change notification settings

a-hurst/ANT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ANT

The attention network test (ANT) is an experimental paradigm created by Fan, McCandliss, Sommer, Raz, and Posner (2002) for studying the attention networks of alerting, orienting, and executive function. This experiment program is a direct replication of the Fan et al. (2002) paradigm using the KLibs framework.

ANT_combined_trial

Requirements

This version of the ANT is programmed in Python 2.7 (3.3+ compatible) using the KLibs framework. It has been developed and tested on macOS (10.9 through 10.13), but should also work with minimal hassle on computers running Ubuntu or Debian Linux, as well as on computers running Windows 7 or newer with a bit more effort.

Getting Started

Installation

First, you will need to install the KLibs framework by following the instructions here.

Then, you can then download and install the experiment program with the following commands (replacing ~/Downloads with the path to the folder where you would like to put the program folder):

cd ~/Downloads
git clone https://github.com/a-hurst/ANT.git

Running the Experiment

This version of the ANT is a KLibs experiment, meaning that it is run using the klibs command at the terminal (running the 'experiment.py' file using python directly will not work).

To run the experiment, navigate to the ANT folder in Terminal and run klibs run [screensize], replacing [screensize] with the diagonal size of your display in inches (e.g. klibs run 24 for a 24-inch monitor).

If you just want to test the program out for yourself and skip demographics collection, you can add the -d flag to the end of the command to launch the experiment in development mode.

Exporting Data

To export data from the ANT, simply run

klibs export

while in the root of the ANT directory. This will export the trial data for each participant into individual tab-separated text files in the project's ExpAssets/Data subfolder.

About

A KLibs implementation of the Attention Network Test based on Fan et al. (2002)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages