sappelhoff / sp_experiment Goto Github PK
View Code? Open in Web Editor NEWExperiment code for the `mpib_sp_eeg` experiment
Home Page: https://github.com/sappelhoff/sp_experiment/
License: BSD 3-Clause "New" or "Revised" License
Experiment code for the `mpib_sp_eeg` experiment
Home Page: https://github.com/sappelhoff/sp_experiment/
License: BSD 3-Clause "New" or "Revised" License
using the psychopy GUI
in the passive condition of the experiment, we draw on an already saved event log of an active condition run.
Errors that happened in the active condition run should be completely disregarded in the passive condition replay, however currently this is not the case.
This happens rarely enough, but it must be fixed!
When analyzing the behavioral data and plotting the expected value differences in the different conditions (active-fixed: AF, active-variable: AV, yoked-fixed: YF, yoked-variable:YV, description: DESC), I noticed the following:
The following figure prompted my investigation of this issue:
This was due to several small mistakes, but the general error boils down to:
Two smaller bug fixes make this error more unlikely to occur:
np.unique
from sorting valuesand one bug fix solves this issue completely (even without the two smaller bug fixes above):
This means that each participant did SOME trials of their DESC task with lotteries that did NOT match the lotteries they experienced in their active task version.
Next step is to find out how many trials in the DESC task are affected by this per participant. --> For some trials, we will have had the correct data displayed "by chance" ... i.e., in some cases the bug would have no effect on ordering.
turn the json file into a python file that produces a JSON
... once that is done: import values from the define_ttl_values.py script ... and make that script a single function that returns the values
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.