The attentionNetworkTest module generates a sequence of images that implement the Attention Network Test (ANT) developed by Michael Posner and his coworkers (see Fan et al. More...
The attentionNetworkTest module generates a sequence of images that implement the Attention Network Test (ANT) developed by Michael Posner and his coworkers (see Fan et al.
2002, below).
J. Fan, B. D. McCandliss, T. Sommer, A. Raz, and M. I. Posner (2002). Testing the Efficiency and Independence of Attentional Networks, Journal of Cognitive Neuroscience, 14:3, 340 – 347.
The current version has some restrictions:
YARP.
Command Line Parameters
The following key-value pairs can be specified as command-line parameters by prefixing -- to the key (e.g. --from file.ini. The value part can be changed to suit your needs; the default values are shown below.
from attentionNetworkTest.ini context attentionNetworkTest/conf $ICUB_ROOT/icub/app to the configuration filename attentionNetworkTest robot icub Configuration File Parameters
The following key-value pairs can be specified as parameters in the configuration file (they can also be specified as command-line parameters if you so wish). The value part can be changed to suit your needs; the default values are shown below.
ANTimageOutPort /ANTimage:o d1 1600 d2 100 d3 400 d4 1700 d5 0 database ANTdatabase path ~/iCub/app/attentionNetworkTest The database parameter specifies the name of the directory in which the database of images is stored. This directory must be created before running the module.
The path parameter specifies the full path to the database directory. This is where the where the database of image files is stored.
For example, if the configuration file attentionNetworkTest.ini is located in C:/iCub/app/attentionNetworkTest/conf and the database is C:/iCub/app/attentionNetworkTest/ANTdatabase then
attentionNetworkTest module must be invoked with --context attentionNetworkTest/conf attentionNetworkTest.ini must contain "path C:/iCub/app/attentionNetworkTest" C:/iCub/app/attentionNetworkTest/ANTdatabase must exist.The database must comprise the following ANT images
None
Input ports
None
Output ports
/attentionNetworkTest/ANTimage:oThe functional specification only names the ports to be used to communicate with the module but doesn't say anything about the data transmitted on the ports. This is defined by the following code.
I/O Port Types & Naming
BufferedPort<ImageOf<PixelRgb> > ANTimageOutPort;ANTdatabase (see above)
None
attentionNetworkTest.ini (see above)
Linux and Windows
attentionNetworkTest --context attentionNetworkTest/conf --from attentionNetworkTest.ini
Copyright (C) 2009 RobotCub Consortium
CopyPolicy: Released under the terms of the GNU GPL v2.0.
This file can be edited at src/attentionNetworkTest/include/iCub/attentionNetworkTestModule.h
1.7.1