• 文献检索
  • 文档翻译
  • 深度研究
  • 学术资讯
  • Suppr Zotero 插件Zotero 插件
  • 邀请有礼
  • 套餐&价格
  • 历史记录
应用&插件
Suppr Zotero 插件Zotero 插件浏览器插件Mac 客户端Windows 客户端微信小程序
定价
高级版会员购买积分包购买API积分包
服务
文献检索文档翻译深度研究API 文档MCP 服务
关于我们
关于 Suppr公司介绍联系我们用户协议隐私条款
关注我们

Suppr 超能文献

核心技术专利:CN118964589B侵权必究
粤ICP备2023148730 号-1Suppr @ 2026

文献检索

告别复杂PubMed语法,用中文像聊天一样搜索,搜遍4000万医学文献。AI智能推荐,让科研检索更轻松。

立即免费搜索

文件翻译

保留排版,准确专业,支持PDF/Word/PPT等文件格式,支持 12+语言互译。

免费翻译文档

深度研究

AI帮你快速写综述,25分钟生成高质量综述,智能提取关键信息,辅助科研写作。

立即免费体验

Shady:一个用于实时视觉刺激操纵的软件引擎。

Shady: A software engine for real-time visual stimulus manipulation.

机构信息

Burke Neurological Institute, White Plains, NY, USA; Blythedale Children's Hospital, Valhalla, NY, USA.

Burke Neurological Institute, White Plains, NY, USA; Blythedale Children's Hospital, Valhalla, NY, USA.

出版信息

J Neurosci Methods. 2019 May 15;320:79-86. doi: 10.1016/j.jneumeth.2019.03.020. Epub 2019 Apr 1.

DOI:10.1016/j.jneumeth.2019.03.020
PMID:30946876
原文链接:https://pmc.ncbi.nlm.nih.gov/articles/PMC6524778/
Abstract

BACKGROUND

Precise definition, rendering and manipulation of visual stimuli are essential in neuroscience. Rather than implementing these tasks from scratch, scientists benefit greatly from using reusable software routines from freely available toolboxes. Existing toolboxes work well when the operating system and hardware are painstakingly optimized, but may be less suited to applications that require multi-tasking (for example, closed-loop systems that involve real-time acquisition and processing of signals).

NEW METHOD

We introduce a new cross-platform visual stimulus toolbox called Shady (https://pypi.org/project/Shady)-so called because of its heavy reliance on a shader program to perform parallel pixel processing on a computer's graphics processor. It was designed with an emphasis on performance robustness in multi-tasking applications under unforgiving conditions. For optimal timing performance, the CPU drawing management commands are carried out by a compiled binary engine. For configuring stimuli and controlling their changes over time, Shady provides a programmer's interface in Python, a powerful, accessible and widely-used high-level programming language.

RESULTS

Our timing benchmark results illustrate that Shady's hybrid compiled/interpreted architecture requires less time to complete drawing operations, exhibits smaller variability in frame-to-frame timing, and hence drops fewer frames, than pure-Python solutions under matched conditions of resource contention. This performance gain comes despite an expansion of functionality (e.g. "noisy-bit" dithering as standard on all pixels and all frames, to enhance effective dynamic range) relative to previous offerings.

CONCLUSIONS

Shady simultaneously advances the functionality and performance available to scientists for rendering visual stimuli and manipulating them in real time.

摘要

背景

在神经科学中,精确定义、呈现和操作视觉刺激至关重要。科学家们通过使用可重复使用的软件例程从免费的工具包中受益,而不是从头开始实现这些任务。现有的工具包在操作系统和硬件经过精心优化时效果很好,但可能不太适合需要多任务处理的应用程序(例如,涉及实时采集和处理信号的闭环系统)。

新方法

我们引入了一个名为 Shady 的新跨平台视觉刺激工具包(https://pypi.org/project/Shady),之所以这样命名,是因为它严重依赖于着色器程序来在计算机的图形处理器上并行处理像素。它的设计重点是在苛刻条件下的多任务应用程序中具有性能鲁棒性。为了获得最佳的定时性能,CPU 绘图管理命令由编译后的二进制引擎执行。为了配置刺激并控制它们随时间的变化,Shady 在 Python 中提供了一个程序员接口,这是一种功能强大、易于访问且广泛使用的高级编程语言。

结果

我们的定时基准测试结果表明,Shady 的混合编译/解释架构在匹配的资源竞争条件下,与纯 Python 解决方案相比,完成绘图操作所需的时间更少,帧到帧的定时变化更小,因此丢帧率更低。尽管相对于以前的产品,功能(例如在所有像素和所有帧上标准的“噪声位”抖动,以增强有效动态范围)有所扩展,但仍能获得这种性能提升。

结论

Shady 同时提高了科学家渲染视觉刺激和实时操作它们的功能和性能。

相似文献

1
Shady: A software engine for real-time visual stimulus manipulation.Shady:一个用于实时视觉刺激操纵的软件引擎。
J Neurosci Methods. 2019 May 15;320:79-86. doi: 10.1016/j.jneumeth.2019.03.020. Epub 2019 Apr 1.
2
NIMH MonkeyLogic: Behavioral control and data acquisition in MATLAB.NIMH MonkeyLogic:在 MATLAB 中进行行为控制和数据采集。
J Neurosci Methods. 2019 Jul 15;323:13-21. doi: 10.1016/j.jneumeth.2019.05.002. Epub 2019 May 6.
3
PyGaze: an open-source, cross-platform toolbox for minimal-effort programming of eyetracking experiments.PyGaze:一个用于轻松编程眼动追踪实验的开源跨平台工具箱。
Behav Res Methods. 2014 Dec;46(4):913-21. doi: 10.3758/s13428-013-0422-2.
4
Accuracy and precision of stimulus timing and reaction times with Unreal Engine and SteamVR.虚幻引擎和 SteamVR 中的刺激时间和反应时间的准确性和精密度。
PLoS One. 2020 Apr 8;15(4):e0231152. doi: 10.1371/journal.pone.0231152. eCollection 2020.
5
The Eyelink Toolbox: eye tracking with MATLAB and the Psychophysics Toolbox.眼动追踪工具箱:使用MATLAB和心理物理学工具箱进行眼动追踪。
Behav Res Methods Instrum Comput. 2002 Nov;34(4):613-7. doi: 10.3758/bf03195489.
6
Interactive Light Stimulus Generation with High Performance Real-Time Image Processing and Simple Scripting.通过高性能实时图像处理和简单脚本实现交互式光刺激生成
Front Neuroinform. 2017 Dec 13;11:70. doi: 10.3389/fninf.2017.00070. eCollection 2017.
7
Ultrahigh temporal resolution of visual presentation using gaming monitors and G-Sync.使用游戏显示器和 G-Sync 实现超高的视觉呈现时间分辨率。
Behav Res Methods. 2018 Feb;50(1):26-38. doi: 10.3758/s13428-017-1003-6.
8
Falcon: a highly flexible open-source software for closed-loop neuroscience.Falcon:一款高度灵活的开源软件,用于闭环神经科学。
J Neural Eng. 2017 Aug;14(4):045004. doi: 10.1088/1741-2552/aa7526.
9
Dual-monitor deterministic hardware for visual stimuli generation in neuroscience experiments.用于神经科学实验中视觉刺激生成的双显示器确定性硬件。
Annu Int Conf IEEE Eng Med Biol Soc. 2010;2010:1547-9. doi: 10.1109/IEMBS.2010.5626823.
10
Achieving precise display timing in visual neuroscience experiments.实现视觉神经科学实验中的精确显示定时。
J Neurosci Methods. 2010 Aug 30;191(2):171-9. doi: 10.1016/j.jneumeth.2010.06.018. Epub 2010 Jun 30.

引用本文的文献

1
Quantitative patterns of visual impairment and recovery in children with brain injury.脑损伤儿童视力损害及恢复的量化模式。
Res Sq. 2024 Jul 30:rs.3.rs-4511323. doi: 10.21203/rs.3.rs-4511323/v1.
2
Behavioral science labs: How to solve the multi-user problem.行为科学实验室:如何解决多用户问题。
Behav Res Methods. 2024 Dec;56(8):8238-8258. doi: 10.3758/s13428-024-02467-4. Epub 2024 Aug 12.
3
Tracking-Based Interactive Assessment of Saccades, Pursuits, Visual Field, and Contrast Sensitivity in Children With Brain Injury.

本文引用的文献

1
PsychoPy2: Experiments in behavior made easy.心理物理学 2 版:简单易用的行为实验。
Behav Res Methods. 2019 Feb;51(1):195-203. doi: 10.3758/s13428-018-01193-y.
2
Curveball: A tool for rapid measurement of contrast sensitivity based on smooth eye movements.Curveball:一种基于平稳眼球运动的快速测量对比敏感度的工具。
J Vis. 2018 Nov 1;18(12):7. doi: 10.1167/18.12.7.
3
Generating Stimuli for Neuroscience Using PsychoPy.使用 PsychoPy 生成神经科学刺激。
基于追踪的脑损伤儿童扫视、追踪、视野和对比敏感度的交互式评估
Front Hum Neurosci. 2021 Oct 29;15:737409. doi: 10.3389/fnhum.2021.737409. eCollection 2021.
4
: A neuroscientist's sound toolkit.一位神经科学家的可靠工具集。
Heliyon. 2021 Feb 10;7(2):e06236. doi: 10.1016/j.heliyon.2021.e06236. eCollection 2021 Feb.
5
Gradiate: A radial sweep approach to measuring detailed contrast sensitivity functions from eye movements.梯度法:一种通过眼球运动测量详细对比敏感度函数的径向扫描方法。
J Vis. 2020 Dec 2;20(13):17. doi: 10.1167/jov.20.13.17.
Front Neuroinform. 2009 Jan 15;2:10. doi: 10.3389/neuro.11.010.2008. eCollection 2008.
4
Vision egg: an open-source library for realtime visual stimulus generation.视景蛋:一个用于实时视觉刺激生成的开源库。
Front Neuroinform. 2008 Nov 4;2:4. doi: 10.3389/neuro.11.004.2008. eCollection 2008.
5
The noisy-bit method for digital displays: converting a 256 luminance resolution into a continuous resolution.数字显示器的噪声位方法:将256级亮度分辨率转换为连续分辨率。
Behav Res Methods. 2008 Aug;40(3):735-43. doi: 10.3758/brm.40.3.735.
6
PsychoPy--Psychophysics software in Python.PsychoPy——Python语言编写的心理物理学软件。
J Neurosci Methods. 2007 May 15;162(1-2):8-13. doi: 10.1016/j.jneumeth.2006.11.017. Epub 2007 Jan 23.
7
The VideoToolbox software for visual psychophysics: transforming numbers into movies.用于视觉心理物理学的VideoToolbox软件:将数字转化为电影。
Spat Vis. 1997;10(4):437-42.
8
The Psychophysics Toolbox.心理物理学工具箱。
Spat Vis. 1997;10(4):433-6.
9
Colour bit-stealing to enhance the luminance resolution of digital displays on a single pixel basis.基于单个像素进行颜色位窃取以提高数字显示器的亮度分辨率。
Spat Vis. 1997;10(4):369-77. doi: 10.1163/156856897x00294.
10
Accurate control of contrast on microcomputer displays.微机显示器上对比度的精确控制。
Vision Res. 1991;31(7-8):1337-50. doi: 10.1016/0042-6989(91)90055-a.