Hiring in life sciences? Share your open positions with our professional community. Read more Close

Advertisement

SPOUT: An open-source hardware and software platform to study decision making while manipulating and recording from neural activity

Created on 27 Aug 2026

Authors

van den Boom, B. J. G., Dash, D., Rutherford, M., Girasole, A. E., Gorelik, P., Mazor, O., Sabatini, B. L.

Abstract

Recording and manipulating brain activity during behavior is critical to understanding the underlying mechanisms of decision-making. Linking neural activity to behavior requires behavioral hardware and software tightly integrated with recording and perturbation systems on a shared clock. We built SPOUT (State-machine Platform for Operant Uni/dual-spout Tasks), an open-source, Teensy-driven state-machine platform with a MATLAB interface that runs 10 unique decision-making tasks (with dozens of variations available through user-friendly settings) to study behavior in head-restrained mice. The platform is built on several custom hardware devices: a dual-lick detector, headplate designs for optogenetics and two-photon calcium imaging, a three-axis motorized spout manipulator, and an optogenetics power modulator. The firmware differentiates between one and two lick spout tasks and can be controlled by a user-friendly interface. Task settings can be selected through the interface or by loading predefined settings files. We validated the clock speed and lick detection against an independent, external acquisition system and identified highly precise, sub-millisecond detection of single licks. Using a pseudo-random synchronization pulse generated by SPOUT, we corrected for missing data due to glitches in the acquisition system and clock drift. We showcase the versatility of SPOUT by training mice on an uninstructed lick-left/lick-right task in which the rewarded side switches unexpectedly and found that mice use history-dependent action-outcome associations to guide future behavior. Transiently inhibiting the anterior lateral motor cortex (ALM) during cue presentation induced contralateral deficits, without affecting ipsilateral trials. Finally, two-photon imaging of ALM neurons revealed stronger population responses during contralateral choice licks compared to ipsilateral ones. Together, SPOUT offers an open-source, affordable platform to study decision-making in head-restrained mice while combining neural recordings and manipulations.

Preprint server: bioRxiv
The authors list and abstract were imported from bioRxiv on 27 Aug 2026.

Advertisement

Stats

  • Community rating n/a 0 votes
  • Your rating

1-terrible, 9-excellent. How would you rate this preprint? Sign in in to submit your rating.

  • Recommendations n/a n/a positive of 0 vote(s)
  • Views 34
  • Comments 0

Recommended by

  • No recommendations yet.

Post a comment

You need to be signed in to post comments. You can sign in here.

Comments

There are no comments yet.

Advertisement