Author name: Erik Marsja

PhD in Psychology, Linköping University. Main interest is experimental and cognitive psychology. Enjoy programming in Python and R.

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 »