title | tags | authors | affiliations | date | bibliography | ||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
COSplay: Contrast Optimized Stimulation Player |
|
|
|
20 February 2018 |
paper.bib |
In many research areas, the functioning of complex systems is probed by measuring stimulus-evoked responses. Commonly, stimulus train delivery is coordinated by in-house and/or proprietary solutions, which are often ill-documented, expensive, poorly reproducible, high-maintenance, and unsustainable. Here we present COSplay, a fully Free and Open Source (FOSS) and hackable framework consisting of a Micro/Python package and a simple compatible circuit schema, which can be used to build and operate a stimulus train delivery device with up to microsecond accuracy. This project includes a complete, step-by-step video tutorial to demonstrate the assembly of the COSplayer [@cosplayer], a free and open source hardware device which serves as the reference implementation for the technology.
The software and circuit supports highly diverse types of stimulus output, accommodating most experimental scenarios, including:
- amplitude modulation (up to 4.2V)
- event-related designs
- block designs
- tonic stimulation
- multiple stimulation channels
- short-circuit output
The package was extensively tested for viability in a functional magnetic resonance imaging (fMRI) setting, and is used in ongoing investigations using optogenetic and electrical stimulation [@drlfom]. The flexible stimulus train specification is BIDS-conformant [@BIDS], and can automatically be parsed for analysis by modern neuroimaging software, including SAMRI [@SAMRI].
Additionally, the software seamlessly interfaces with the Bruker ParaVision (TM) directory structure, and is able to reposit stimulus summaries in corresponding data paths. This makes COSplay excellently suited for automating the workflow and increasing the reproducibility of small animal MRI studies - while not compromising its potential for other scenarios.