PyDecNef
A complete Python framework to perform real-time fMRI decoded neurofeedback experiments
Install / Use
/learn @pedromargolles/PyDecNefREADME
<a href="https://www.gnu.org/licenses/gpl-3.0"><img src="https://img.shields.io/badge/License-GPLv3-blue.svg" alt="License"></a> <a href="mailto:pedromargolles@gmail.com"><img src="https://img.shields.io/badge/Ask%20me-anything-1abc9c.svg" alt="Ask Me Anything"></a> <img src="https://img.shields.io/badge/Coverage-80%25-yellow.svg" alt="Coverage"> <a href="https://www.python.org/"><img src="https://img.shields.io/badge/Made%20with-Python-1f425f.svg" alt="Made with Python"></a> <a href="https://pedromargolles.github.io/pyDecNef/"><img src="https://img.shields.io/badge/Documentation-pyDecNef-red.svg" alt="Documentation"></a> <a href=""><img src="https://img.shields.io/badge/Citation-DOI-green.svg" alt="Citation"></a> <br></br>
<p align="center"> <img src="https://pedromargolles.github.io/pyDecNef/assets/images/wide_logo2.png"> </p>About
The pyDecNef library provides an open and straightforward framework to perform real-time fMRI decoded neurofeedback studies in Python.
From the creation of the working space, through the scripts for decoder construction and fMRI volumes pre-processing, to the scripts for neurofeedback training and data post-processing.
In addition, introductory tutorials on the decoded neurofeedback technique and an advanced use of the pyDecNef pipeline are provided.
Although this library, as it is, is oriented to the development of classical decoded neurofeedback studies, it can be easily customized for other real-time brain-computer interface paradigms.
For example, experiments using GLM, adaptive experimental designs where experimental conditions are modified based on brain activation patterns, optimization and calibration designs, mental reading and signal reconstruction paradigms...
For more information and tutorials visit pyDecNef project webpage.
License
pyDecNef is © 2021-2022 by Pedro Margolles & David Soto.
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License version 3 as published by the Free Software Foundation.
This program is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose. See the GNU General Public License for more details.
Permissions of this strong copyleft license are conditioned on making available complete source code of licensed works and modifications, which include larger works using a licensed work, under the same license. Copyright and license notices must be preserved. Contributors provide an express grant of patent rights.
Related Skills
claude-opus-4-5-migration
111.3kMigrate prompts and code from Claude Sonnet 4.0, Sonnet 4.5, or Opus 4.1 to Opus 4.5
model-usage
352.5kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
TrendRadar
51.2k⭐AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.🎯 告别信息过载,你的 AI 舆情监控助手与热点筛选工具!聚合多平台热点 + RSS 订阅,支持关键词精准筛选。AI 智能筛选新闻 + AI 翻译 + AI 分析简报直推手机,也支持接入 MCP 架构,赋能 AI 自然语言对话分析、情感洞察与趋势预测等。支持 Docker ,数据本地/云端自持。集成微信/飞书/钉钉/Telegram/邮件/ntfy/bark/slack 等渠道智能推送。
mcp-for-beginners
15.8kThis open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable, and secure AI workflows from session setup to service orchestration.
