Erik Marsja
  • Home
  • Programming
    • Python Tutorials
      • Data Analysis
      • Pandas Tutorials
      • Data Visualization
      • Python for Data Collection Tutorials
    • R
  • CV
  • Contact
  • Python & R resources
Select Page
Psychomotor Vigilance Task (PVT) in PsychoPy (Free Download)

Psychomotor Vigilance Task (PVT) in PsychoPy (Free Download)

by Erik Marsja | Aug 29, 2022 | Experimental Design, Open Science, Open Source, Programming, Psychology, Psychopy, Python

In this PsychoPy tutorial, you will learn how to create the Psychomotor Vigilance Task (PVT) using some but not that much coding. However, as the setup for this test has a random interstimulus interval (ISI), we will create a Psychomotor Vigilance Test with a duration...
TrialHandler – a PsychoPy tutorial

TrialHandler – a PsychoPy tutorial

by Erik Marsja | Dec 20, 2015 | Open Source, Programming, Psychopy, Python

In this tutorial, you will learn how to use the PsychoPy function TrialHandler to create trials and correct responses to your targets in these trials. PsychoPy is an application for creating experiments for Psychology experiments. The application is written in Python,...
Free & Useful Software – PsychoPy

Free & Useful Software – PsychoPy

by Erik Marsja | Nov 29, 2015 | Programming, Psychology, Psychopy, Python

PsychoPy This post will describe why I prefer using PsychoPy before other software. When I started getting involved in research (i.e., when doing my Bachelor’s and Masters’s theses), I used the software that was accessible to me. That is, some of the most...

Sustained Attention Task in PsychoPy

by Erik Marsja | Nov 9, 2015 | Experimental Design, Programming, Psychology, Psychopy, Python

I have created a PsychoPy script for the Sustained Attention to Response Task (SART) and a Vigilance Task. Both of the tasks are very similar. In SART, the task is to press the keyspace as fast and accurately as possible on all targets (digits 1, 2, 4–9) except for...

How to install PyschoPy on Linux Mint Debian Edition

by Erik Marsja | Apr 15, 2015 | Programming, Psychopy, Python

How to Install PsychoPy on Linux Mint Installing PsychoPy on Linux Mint was not straight forward.  This is a short guide on how to install PsychoPy on Linux Mint Debian edition. After some searching around on forums and such I found a solution and put it together in...

Python script for trial randomization

by Erik Marsja | Oct 9, 2014 | Programming, Psychology, Psychopy, Python

In this post you will find a Python script for randomizing conditions with constraints (i.e., never 2 consecutive trials of X). This script will in a later post be implemented in a cross-modal oddball task created in Psychopy. I recently started to use Psychopy to...

Latest Posts

  • Sum Across Columns in R – dplyr & base April 1, 2023
  • Plot Prediction Interval in R using ggplot2 March 23, 2023
  • Probit Regression in R: Interpretation & Examples March 14, 2023
  • How to Create a Sankey Plot in R: 4 Methods March 11, 2023
  • How to Calculate Z Score in R March 5, 2023
  • How to Standardize Data in R February 26, 2023
  • How to Make a Residual Plot in R & Interpret Them using ggplot2 February 19, 2023
  • How to do a Kruskal-Wallis Test in R February 12, 2023
  • Privacy
  • Terms of Service
  • Facebook
  • Twitter
  • RSS