Affect, Motivation, and Action lab

Open Science

We at the AMA lab strongly believe in Open Science and aim to be open and transparent about our work. Data, analyses, and tasks linked to recent publications are available at Henk’s Open Science Framework page.

Other resources

The E-Primer

E-Prime, the software suite of Psychology Software Tools, is used for designing and running custom psychological experiments. The E-Primer, a Leiden University Press publication, is the first complete guide and textbook on the world of E-Prime.

Learn more about The E-Primer here: www.e-primer.com

QRTEngine

QRTEngine is an open-source JavaScript engine. It can be embedded in the online survey development environment Qualtrics to develop browser-based online reaction time experiments in an easy way.

Learn more about the QRTEngine here: www.qrtengine.com

Home-brewed software and tools

THE SOFTWARE MENTIONED BELOW IS PROVIDED “AS IS” AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

MRI analysis tools

Manual to perform B0 unwarping with FSL on data from Philips scanner

Pupil analysis toolbox for Brain Vision

This toolbox allows you to read Tobii eye tracking data into Brain Vision Analyzer. Make sure that your Regional and Language settings have been set to English (United States) before acquiring and analyzing data. Otherwise the macros will not load your data successfully.

Matching luminance avg+stdev of a picture or all pictures in a folder

These Linux bourne shell scripts (single picture, all picture in folder) will automatically match the luminance average and standard deviation of all gray-scaled pictures in a given directory to a reference picture by changing their brightness and contrast. The scripts use ImageMagick commands, so the free toolbox ImageMagick should be installed first.

Questionnaire in E-Prime 2

This E-Prime file allows you to present one or more sheets of 10 questionnaire items (with a max of 9 options) in E-Prime. The answers given by the subject are automatically stored into the edat file (see attributes ChosenOption and ChosenOptDes). The questionnaire is programmed in a somewhat quick and dirty (obscure) way, needing many lists, procs and scripts…  However, the underlying principle is very straightforward: Whenever the procedure RunOneSheetOf10Items is executed, it presents the content of 11 consecutive rows (1 header and 10 questions + items) stored in the AllQuestionnaires List.

It is very simple to modify this script to suit your own needs! Call the procedure RunOneSheetOf10Items at the proper location in a particular list in your experiment and repeat this for the number of sheets you would like to present. In order to change the text for the header and items + options, you only have to change the content of the AllQuestionnaires List (note that row numbers 1-11, 12- 22, 23-33 etc. will be presented in separate sheets). ItemIDs fields that are left empty will not be used, neither are option fields that are left empty. Optionally, you can set the PreSelection field, when a particular item number should be preselected in advance.

MNI152_T1_2mm standard brain with skull and uniform black background

This edited MNI standard brain allows you to make the background color of screenshots made in fslview transparant in MS Office while at the same time not affecting other “black” regions inside the head/brain.

Example Excel formula to convert SPSS ANOVA output to in-text statistics using APA style

Download this Excel file

Adding error bars to a chart in Excel using a macro

If you want to avoid adding error bars to a chart in Microsoft Excel manually one-by-one, consider to use a macro in Visual Basic for Applications. Feel free to use/edit the example provided here: Excel_add_errorbars_to_chart_using_macro

Software manuals HPC usage (Sun Grid Engine or Open Grid Scheduler)