psychopy-neuro

Design and run PsychoPy experiments with TTL triggers and BIDS events.tsv exports.

33|6|Updated Mar 17, 2026
One-click install
npx skills add https://github.com/xjtulyc/awesome-rosetta-skills --skill psychopy-neuro
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: psychopy-neuro
Source: https://github.com/xjtulyc/awesome-rosetta-skills/tree/main/skills/05-neuroscience/psychopy-neuro
Command: npx skills add https://github.com/xjtulyc/awesome-rosetta-skills --skill psychopy-neuro

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires psychopy, pandas, numpy, matplotlib, scipy, pyparallel.

What problem does it solve?

This Skill helps you design and execute neuroscience experiments in PsychoPy while ensuring precise stimulus timing, EEG/fMRI-ready TTL triggers, and exportable BIDS-compatible timing files.

Core Features & Use Cases

  • PsychoPy stimulus presentation: Build visual or auditory oddball/cognitive paradigms with accurate timing using PsychoPy’s timing model.
  • TTL synchronization for neuroimaging: Generate event markers (trigger codes) intended for EEG/fMRI acquisition alignment.
  • BIDS events.tsv generation: Convert trial results into BIDS-style events with onset, duration, trial_type, and response/RT fields.
  • Reaction time analysis: Compute RT distributions, remove outliers, and visualize RT behavior across trials.

Quick Start

Ask an AI agent to generate a PsychoPy Coder-mode experiment that presents an auditory oddball task, sends TTL trigger codes per trial type, and saves a BIDS events.tsv file with response_time and response fields for each participant session.

Frequently Asked Questions about psychopy-neuro

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate BIDS events.tsv files from a PsychoPy experiment?

To generate BIDS events.tsv files from a PsychoPy experiment, the Skill structures trial results with onset, duration, trial_type, response, and response_time fields using pandas and numpy for data processing.

How do I send TTL trigger codes for EEG and fMRI synchronization in PsychoPy?

You can send TTL trigger codes for EEG/fMRI synchronization in PsychoPy by generating event markers intended for acquisition alignment, utilizing the pyparallel dependency to emit trigger codes per trial type during stimulus delivery.

Can I build an auditory oddball task with reaction time collection in PsychoPy?

Yes, you can build an auditory oddball task with reaction time collection in PsychoPy. The Skill designs cognitive paradigms using visual or auditory stimuli and captures response-box or keyboard reaction times across structured trials.

Does this Skill support Pavlovia deployment for online neuroscience experiments?

The Skill provides offline timing log interpretation and includes Pavlovia deployment considerations for online neuroscience experiments, ensuring accurate stimulus timing and event marker alignment when transitioning from local PsychoPy setups.

What is the best way to analyze reaction time distributions and remove outliers in Python?

The best way to analyze reaction time distributions and remove outliers in Python is by computing RT distributions across trials using scipy and matplotlib, visualizing RT behavior to identify and exclude anomalous response times.