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!

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 »

descriptive statistics in python

Descriptive Statistics in Python using Pandas

in this Python and Pandas tutorial, you will learn how to calculate descriptive statistics in Python using Pandas. First, you will get a brief description of what descriptive statistics is. After that, you will get a quick answer to a the question “how can I calculate descriptive statistics in Python”. In the next subsections, we

Descriptive Statistics in Python using Pandas Read More »

Scroll to Top