Skip to main content
bioRxiv
  • Home
  • About
  • Submit
  • ALERTS / RSS
Advanced Search
New Results

RPG: A low-cost, open-source, high-performance solution for displaying visual stimuli

Vivian Imbriotis, Adam Ranson, View ORCID ProfileWilliam M Connelly
doi: https://doi.org/10.1101/2020.03.05.979724
Vivian Imbriotis
1School of Medicine, University of Tasmania, Hobart, Australia
2Faculty of Medicine and Health Sciences, Universitat Internacional de Catalunya, Barcelona, Spain
3Institut de Neurociènces, Universitat Autònoma de Barcelona, Bellaterra, Spain
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Adam Ranson
2Faculty of Medicine and Health Sciences, Universitat Internacional de Catalunya, Barcelona, Spain
3Institut de Neurociènces, Universitat Autònoma de Barcelona, Bellaterra, Spain
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • For correspondence: william.connelly@utas.edu.au adam@ransonlab.net
William M Connelly
1School of Medicine, University of Tasmania, Hobart, Australia
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for William M Connelly
  • For correspondence: william.connelly@utas.edu.au adam@ransonlab.net
  • Abstract
  • Full Text
  • Info/History
  • Metrics
  • Data/Code
  • Preview PDF
Loading

Abstract

The development of new high throughput approaches for neuroscience such as high-density silicon probes and 2-photon imaging have led to a renaissance in visual neuroscience. However, generating the stimuli needed to evoke activity in the visual system still represents a non-negligible difficulty for experimentalists. While several widely used software toolkits exist to deliver such stimuli, they all suffer from some shortcomings. Primarily, the hardware needed to effectively display such stimuli comes at a significant financial cost, and secondly, triggering and/or timing the stimuli such that it can be accurately synchronized with other devices requires the use of legacy hardware, further hardware, or bespoke solutions. Here we present RPG, a Python package written for the Raspberry Pi, which overcomes these issues. Specifically, the Raspberry Pi is a low-cost, credit card sized computer with general purpose input/output pins, allowing RPG to be triggered to deliver stimuli and to provide real-time feedback on stimulus timing. RPG delivers stimuli at >60 frames per second, with a hardware latency of 2 ms. We provide a simple to use Python interface that is capable of generating drifting sine wave gratings, Gabor patches and displaying raw images/video.

Footnotes

  • https://github.com/bill-connelly/rpg

Copyright 
The copyright holder for this preprint is the author/funder, who has granted bioRxiv a license to display the preprint in perpetuity. It is made available under a CC-BY-NC-ND 4.0 International license.
Back to top
PreviousNext
Posted March 06, 2020.
Download PDF
Data/Code
Email

Thank you for your interest in spreading the word about bioRxiv.

NOTE: Your email address is requested solely to identify you as the sender of this article.

Enter multiple addresses on separate lines or separate them with commas.
RPG: A low-cost, open-source, high-performance solution for displaying visual stimuli
(Your Name) has forwarded a page to you from bioRxiv
(Your Name) thought you would like to see this page from the bioRxiv website.
CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.
Share
RPG: A low-cost, open-source, high-performance solution for displaying visual stimuli
Vivian Imbriotis, Adam Ranson, William M Connelly
bioRxiv 2020.03.05.979724; doi: https://doi.org/10.1101/2020.03.05.979724
Digg logo Reddit logo Twitter logo Facebook logo Google logo LinkedIn logo Mendeley logo
Citation Tools
RPG: A low-cost, open-source, high-performance solution for displaying visual stimuli
Vivian Imbriotis, Adam Ranson, William M Connelly
bioRxiv 2020.03.05.979724; doi: https://doi.org/10.1101/2020.03.05.979724

Citation Manager Formats

  • BibTeX
  • Bookends
  • EasyBib
  • EndNote (tagged)
  • EndNote 8 (xml)
  • Medlars
  • Mendeley
  • Papers
  • RefWorks Tagged
  • Ref Manager
  • RIS
  • Zotero
  • Tweet Widget
  • Facebook Like
  • Google Plus One

Subject Area

  • Neuroscience
Subject Areas
All Articles
  • Animal Behavior and Cognition (3605)
  • Biochemistry (7575)
  • Bioengineering (5529)
  • Bioinformatics (20806)
  • Biophysics (10333)
  • Cancer Biology (7986)
  • Cell Biology (11644)
  • Clinical Trials (138)
  • Developmental Biology (6610)
  • Ecology (10214)
  • Epidemiology (2065)
  • Evolutionary Biology (13622)
  • Genetics (9543)
  • Genomics (12851)
  • Immunology (7923)
  • Microbiology (19550)
  • Molecular Biology (7666)
  • Neuroscience (42125)
  • Paleontology (308)
  • Pathology (1258)
  • Pharmacology and Toxicology (2203)
  • Physiology (3268)
  • Plant Biology (7044)
  • Scientific Communication and Education (1294)
  • Synthetic Biology (1951)
  • Systems Biology (5427)
  • Zoology (1118)