Programming

Programming related posts

In this category you will find posts that are related to programming and should be interesting for psychologists, cognitive scientists, and neuroscientists. Well, almost every researcher would probably find some of the information useful at some time!

Every research psychologist, cognitive scientist, and neuroscientist, should know how to program.. Knowing how to program and write scripts will make many of a researchers everyday tasks much easier. For instance, instead of going through line after line of raw data you can write a Python script that runs through each cell in each column. Furthermore, you get the possibility to use more advanced, and cutting edge, statistical techniques by using R statistical programming environment.

Another example might be to create experiments using PsychoPy (either by coding using Python or using the drag-and-drop interface) and the cheap and open-source Arduino microcontroller. Also, coding is fun and relaxing!

Python Video Tutorial: Creating a Flanker Task using Expyriment

In this video you learn how to create a Flanker task using the Python package Expyriment. If you don’t know Expyriment it is an open-source library. You can program your experiments and run on Linux, Windows, and OS-x computers and Android devices. In the tutorial you will get familiar with Expyriment and get to create

Python Video Tutorial: Creating a Flanker Task using Expyriment Read More »

Exploring response time distributions using Python

Inspired by my post for the JEPS Bulletin (Python programming in Psychology), where I try to show how Python can be used from collecting to analyzing and visualizing data, I have started to learn more data exploring techniques for Psychology experiments (e.g., response time and accuracy). Here are some methods, using Python, for visualization of

Exploring response time distributions using Python Read More »

Best Python libraries for Psychology researchers

Python is gaining popularity in many fields of science. This means that there also are many applications and libraries specifically for use in Psychological research. For instance, there are Python packages for collecting data, doing basic statistics, and analyzing brain imaging data. In this post, I have collected some useful Python packages for researchers within

Best Python libraries for Psychology researchers Read More »

E-prime how-to: save data to csv-file using InLine scripts

In this post, I will describe, shortly, how to use InLine scripts in E-prime to save your data in comma-separated values (CSV) files. For those who are not familiar with E-prime, it is an experiment generating software based on visual basic (i.e., it has its own scripting language called e-basic). Its main purpose is to

E-prime how-to: save data to csv-file using InLine scripts Read More »

psychopy tutorials - videos

PsychoPy video tutorials

PsychoPy, as I have previously written about (e.g., Free and Useful Software and PsychoPy tutorial) is really a great Python tool for creating Psychology experiments. You can write Python code by either using  “code view” or importing the package in your favorite IDE.  Furthermore, you can use the builder mode and just drag and drop different

PsychoPy video tutorials Read More »

Scroll to Top