StereoPylot: An Open-Source Raspberry Pi-Based Stereotaxic Apparatus Controller with 3D Printed Components for Fully Motorized Control, Digital Display, and Customizable Features.
2 blocks of code here have a permanent identifier (oscr:b:…), listed with the matches below: citable for good, with a page of its own. Select a match and press Cite to copy it. What a block identifier is.
The 2 matches · all tie a paragraph to a whole file without given lines: weak matches, whose lines are not tinted
- [1] § Materials and Methods › Assembly of the upper control box ↔ LeftHand/VariableList.py, the whole file · a weak match · score 0.53 · shift registers, rotary encoders, pins, switch, wiring, buttons · block
oscr:b:KFWM78KQ97DEB-8· Report a mismatch - [2] § Materials and Methods › Assembly of the upper control box ↔ RightHand/VariableList.py, the whole file · a weak match · score 0.53 · shift registers, rotary encoders, pins, switch, wiring, buttons · block
oscr:b:HMABZHBPHB110-W· Report a mismatch
Paper
Loaded from Europe PMC by your browser; OSCR does not store it: doi.org · Europe PMC
The paper is loaded when this pane is shown.
The authors' code
Python · 247 lines · 5.7 KB · GPL-3.0 · 1 match
- class var_list:
- #From UI
- countoflistwidget = 0
- list_toggle = 9999
- #FROM BUTTONCLASS *********************************************************
- #Main while loop condition
- keepalive = True
- #Stepper instances
- APmove = None
- MLmove = None
- DVmove = None
- AUXmove = None
- # OFFSETS FOR THE DRILL, Syringe, Needle (minus values is back, left or up)
- # in mm using the drill as 0
- # Change in the file offsetsXX.txt (XX is LH or RH)
- DrillAPmm = float(0)
- DrillMLmm = float(0)
- DrillDVmm = float(0)
- NeedleAPmm = float(11.1)
- NeedleMLmm = float(-31.22)
- NeedleDVmm = float(5)
- FiberAPmm = float(-5.069)
- FiberMLmm = float(31.22)
- FiberDVmm = float(1.1)
- # variable to let program know which offset of toggled on. 1-drill,2-syringe,3-probe
- TOGGLEoff = 1
- offtoggleold = 1
- # DEFINE NUMBER OF BUTTONS AND ORDER IN ARRAY
- buttonarray = ['DVinsert', 'withdrawl', 'fullretract', 'rezero', 'bregmahomeDVupfive',
- 'bregmahomeDVabs', 'ABSzero', 'gotopreset', 'makeitsobut', 'engagebut',
- 'selectdown', 'selectup', 'retractAP', 'returnAP', 'bregmahome',
- 'gotolambdabut', 'ratselect', 'mouseselect', 'functionone', 'armbut',
- 'relativeML', 'retractDV', 'returnDV', 'functiontwo', 'relativeAP',
- 'relativeALLset', 'offpostwo', 'offposone', 'unassigned', 'movefast', 'moveslow',
- 'relativeDV']
- lastbuttonstate = [0 for x in range(len(buttonarray))]
- # BUTTON POSITION IN SHIFT REGISTER ARRAY (0 to 31)
- moveslow = 30
- movefast = 29
- offposone = 27
- offpostwo = 26
- rezero = 3
- relativeAP = 24
- relativeML = 20
- relativeDV = 31
- relativeALL = 25
- fullretractbut = 2
- bregmahome = 14
- bregmahomeDVabs = 5
- bregmahomeDVupfive = 4
- gotolambdabut = 15
- ratselect = 16
- mouseselect = 17
- gotopreset = 7
- selectup = 11
- selectdown = 10
- armbut = 19
- engagebut = 9
- makeitsobut = 8
- withdrawl = 1
- DVinsert = 0
- retractAP = 12
- returnAP = 13
- retractDV = 21
- returnDV = 22
- functionone = 18
- functiontwo = 23
- ABSzero = 6
- #DEFINE EMERGENCY STOP and hard wired buttons GPIO
- emergstop = 26
- safetybut = 9
- disablestepperbut = 10
- fourthhardwarebutton = 11 #encoder 4 depress?
- #DEFINE SHIFT REGISTER PINS
- latchpin = 18
- clockpin = 23
- datapin = 24
- #DEFINE STEPPER SPEEDS - number of steps per call
- finespeed = 1
- normalspeed = 10
- fastspeed = 50
- #stepper_speed initializes as 1 BUT changes according to the state of the speed switch
- stepper_speed = finespeed
- #FROM StepperControl class *********************************************************
- btnSteps = 0.001
- APsteps = 0
- MLsteps = 0
- DVsteps = 0
- AUXsteps = 0
- APrelpos = 0
- MLrelpos = 0
- DVrelpos = 0
- APretractstart = 0
- DVretractstart = 0
- DVinitREL_holdvalue = 0
- MLinitREL_holdvalue = 0
- APinitREL_holdvalue = 0
- DVcurrentoffsset = 0
- MLcurrentoffsset = 0
- APcurrentoffsset = 0
- APstepdistance = float(0.0075)
- MLstepdistance = float(0.0075)
- DVstepdistance = float(0.0075)
- APcurABSdist = float(0)
- MLcurABSdist = float(0)
- DVcurABSdist = float(0)
- APcurRELdist = float(0)
- MLcurRELdist = float(0)
- DVcurRELdist = float(0)
- #FROM Threadedcontrol class *********************************************************
- #Variables that may need tweaking
- calibrationsteps = 4000
- backoff = 50 #200
- APadvance = 2000 #2000
- DVadvance = 400 #400
- MLadvance = 400 #400
- APworking = 6400
- MLworking = 6070
- DVworking = 3500
- fullretract = 7650
- fullretractML = 9500
- DVup_bregramhome = 268 #about 0.2cm
- DVup_lambdabregma = 200 # about 0.15cm
- DVup_five = 675 # about 5 mm
- # how many steps DV goes up and then back when changing the offsets to avoid scrapping the skull
- DVup_OffsetSafety = 1340 #about 1 cm
- #DEFINE STEPPER CONTROL PINS
- enableAll = 2
- directionAP = 3
- stepAP = 4
- directionML = 17
- stepML = 27
- directionDV = 5
- stepDV = 6
- directionAUX = 1
- stepAUX = 7
- #DEFINE LIMIT SWITCH PINS
- limitAP = 22
- limitML = 19
- limitDV = 0
- limitAUX = 13
- #DEFINE ROTARY ENCODER PINS
- rotoA_AP = 21
- rotoB_AP = 20
- rotoA_ML = 12
- rotoB_ML = 16
- rotoA_DV = 8
- rotoB_DV = 25
- rotoA_fourth = 14
- rotoB_fourth = 15
- #ENCODER CALC VARIABLES
- eventime = 0
- eventdelay = 200
- backwardrotdelay = 400
- lastdirection = 0 #3 = counterclock, 1 = clock
- thecount = 0
- firstandonly = 0
- #DEFINE STEPPER DIRECTIONS
- APback = 1
- APforward = 0
- MLleft = 1
- MLright = 0
- DVup = 0
- DVdown = 1
- AuxUP = 0
- AuxDown = 1
- calibfilename = 'CalibrationLH.txt'
- offsetfilename = 'offsetsLH.txt'
- lastenablestate = 1
- emergencystopflag = 0
- engagebutton = 0
- safetybutton = 0
- withdrawinsertstop = 0
- dvinsertstop = 0
- DVinsertindicator = 0
- Withdrawlindicator = 0
- Makeitsoindicator = 0
- ratormouseselect = 1 #1 is mouse 2 is rat 3 is null(mouse default)
- ratlambda = 1208 # steps for 9mm at 0.0745 per step
- mouselambda = 550 # steps for 4.1mm at 0.0745 per step
- rellambda = 0
- # For timerthread safety timeouts
- timeoutlength = 3
- DVinserttimeouttime = None
- Safetytimeouttime = None
- Withdrawltimeouttime = None
- Makeitsobuttimeouttime = None
- # concept and code created by Kirk Mulatz (original code https://github.com/bustenchops/Stereotaxiccontrol (experiment branch)
VariableList.py at commit db7209a, under GPL-3.0 · at the source
Overview
Abstract
Stereotaxic surgery is a powerful technique used to deliver drugs, viral vectors, and/
Reproduced under the paper's license (CC BY), from the paper cited above.
Repository
Its files are read in the Code ↔ Paper reader above, with 2 matches between paragraphs and lines of code.
botterillneurolab/StereoPylot
db7209a313dc6a21e145f5616096a121ed564a92, 23 April 2026Availability: 1 check, the latest on 27 September 2026: the link answers
- 27 September 2026: the link answers
22 files
- LeftHand/
Buttonclassv1.py , Python, 679 lines - LeftHand/
RotatryEncoderv1.py , Python, 164 lines - LeftHand/
StepperControlv1.py , Python, 196 lines - LeftHand/
StereotaxicUI.py , Python, 442 lines - LeftHand/
SurgeryStart.sh , Shell, 18 lines - LeftHand/
ThreadedControlsv1.py , Python, 431 lines - LeftHand/
VariableList.py , Python, 247 lines, 1 match - RightHand/
Buttonclassv1-old.py , Python, 539 lines - RightHand/
Buttonclassv1.py , Python, 679 lines - RightHand/
RotatryEncoderv1.py , Python, 164 lines - RightHand/
StepperControlv1.py , Python, 196 lines - RightHand/
StereotaxicUI.py , Python, 440 lines - RightHand/
SurgeryStart.sh , Shell, 18 lines - RightHand/
ThreadedControlsv1.py , Python, 431 lines - RightHand/
VariableList.py , Python, 184 lines, 1 match - TestingFunction/
rotary_classv2.py , Python, 189 lines - TestingFunction/
test-buttons-PCB.py , Python, 96 lines - TestingFunction/
test-hardbuttons-PCB.py , Python, 77 lines - TestingFunction/
test-input-PCB.py , Python, 48 lines - TestingFunction/
test-steppersv3.py , Python, 352 lines - TestingFunction/
testvariables.py , Python, 9 lines - LICENSE, License, 674 lines
Code accessibility
The code and software described in the paper is freely available online at https://
Reproduced under the paper's license (CC BY), from the paper cited above.
Tracing map
Proposed by the machine: these links were found in the paper and verified at the source, without human review. The map will receive a Zenodo DOI once one of the paper's authors has validated it with their ORCID.
What the map holds:
- 1 repository of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
- 21 scripts, each with its path and the digest of its content;
- 2 matches between paragraphs of the paper and lines of the code (method lexical-v1);
- neither the text of the paper nor the code itself.
Its JSON (tracing-map.json) is deposited on Zenodo with its DOI once the map is validated.
Data
No dataset and no data link were found in the paper.
Versions
The history of this record: each version stored by the harvester or made by a correction of its authors or of the maintainers of its code, and what changed in its facts. The texts of the paper (its abstract, its availability statements) are not part of it; versions that changed only those are not listed.
Version 1, 27 September 2026: the first record
Recorded: type, language, journal, volume, issue, pages, dates, 6 authors, 7 keywords, 8 MeSH terms, 2 funders, 24 references.
Cite
This paper
Mulatz, K., Glass, A. E., Bolger, M. A., White, C. L. G., Howland, J. G., & Botterill, J. J. (2026). StereoPylot: An Open-Source Raspberry Pi-Based Stereotaxic Apparatus Controller with 3D Printed Components for Fully Motorized Control, Digital Display, and Customizable Features. eNeuro, 13(7), ENEURO.0460-25.2026. https://
BibTeX
@article{mulatz2026stere
author = {Mulatz, Kirk and Glass, Aiden E. and Bolger, McKenna A. and White, Caleb L. G. and Howland, John G. and Botterill, Justin J.},
title = {{StereoPylot: An Open-Source Raspberry Pi-Based Stereotaxic Apparatus Controller with 3D Printed Components for Fully Motorized Control, Digital Display, and Customizable Features}},
journal = {eNeuro},
year = {2026},
month = jul,
volume = {13},
number = {7},
pages = {ENEURO.0460--25.2026},
publisher = {Society for Neuroscience},
issn = {2373-2822},
doi = {10.1523/
url = {https://
pmid = {42331622},
pmcid = {PMC13362190}
}
RIS
TY - JOUR
AU - Mulatz, Kirk
AU - Glass, Aiden E.
AU - Bolger, McKenna A.
AU - White, Caleb L. G.
AU - Howland, John G.
AU - Botterill, Justin J.
TI - StereoPylot: An Open-Source Raspberry Pi-Based Stereotaxic Apparatus Controller with 3D Printed Components for Fully Motorized Control, Digital Display, and Customizable Features
T2 - eNeuro
J2 - eNeuro
PY - 2026
DA - 2026/
VL - 13
IS - 7
SP - ENEURO.0460
EP - 25.2026
SN - 2373-2822
PB - Society for Neuroscience
DO - 10.1523/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1523/
"type": "article-journal",
"title": "StereoPylot: An Open-Source Raspberry Pi-Based Stereotaxic Apparatus Controller with 3D Printed Components for Fully Motorized Control, Digital Display, and Customizable Features",
"container-title": "eNeuro",
"author": [
{
"family": "Mulatz",
"given": "Kirk"
},
{
"family": "Glass",
"given": "Aiden E."
},
{
"family": "Bolger",
"given": "McKenna A."
},
{
"family": "White",
"given": "Caleb L. G."
},
{
"family": "Howland",
"given": "John G."
},
{
"family": "Botterill",
"given": "Justin J."
}
],
"container-title-short":
"volume": "13",
"issue": "7",
"page": "ENEURO.0460-25.2026",
"DOI": "10.1523/
"PMID": "42331622",
"PMCID": "PMC13362190",
"ISSN": "2373-2822",
"publisher": "Society for Neuroscience",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
7,
10
]
]
}
}
The tracing map gets a citation of its own once an author has validated it and it has a DOI.
Similar papers
The papers with a page that share the most with this one: the tools found in their code, their categories, datasets, cited references and authors, the rarest counting most.
- [1] doi:10.1093/cercor/bhaf203 [code]
- Activity of CaMKII-expressing neurons in medial prefrontal cortex of male and female Long-Evans rats is necessary for encoding odor information and novelty recognition in an odor-based incidental memory test.Journal: Cerebral cortex (New York, N.Y. : 1991)In common: rat, 2 authors
- [2] doi:10.1038/s41598-023-47861-8
- Characterization of cannabinoid plasma concentration, maternal health, and cytokine levels in a rat model of prenatal Cannabis smoke exposure.Journal: Scientific reportsIn common: rat, author John G. Howland
- [3] doi:10.1186/s13195-025-01747-1
- Increased excitability of dentate gyrus mossy cells occurs early in life in the Tg2576 model of Alzheimer's disease.Journal: Alzheimer's research & therapyIn common: author Justin J. Botterill
- [4] doi:10.1371/journal.pntd.0010600
- Toxoplasma infection in male mice alters dopamine-sensitive behaviors and host gene expression patterns associated with neuropsychiatric disease.Journal: PLoS neglected tropical diseasesIn common: author John G. Howland
- [5] doi:10.1126/sciadv.adt9693 [code]
- Computer vision-guided rapid and precise automated cranial microsurgeries in mice.Journal: Science advancesIn common: 2 references
- [6] doi:10.1101/2024.02.12.579892 [code]
- Zapit: Open Source Laser-Scanning Photostimulation For NeuroscienceJournal: bioRxiv (preprint)In common: methods / tools, 2 references
- [7] doi:10.64898/2025.12.15.693140 [code]
- Neuronal recordings in head-fixed and freely-moving mole-ratsJournal: bioRxiv (preprint)In common: rat, 1 reference
- [8] doi:10.1038/s41467-023-40044-z
- Nucleus reuniens transiently synchronizes memory networks at beta frequencies.Journal: Nature communicationsIn common: rat, 1 reference
- [9] doi:10.1039/d4tb01117a [code]
- &
lt;i& gt;In vivo& lt;/ i& gt; photopharmacological inhibition of hippocampal activity & lt;i& gt;via& lt;/ i& gt; multimodal probes - perspective and opening steps on experimental and computational challenges. Journal: Journal of materials chemistry. BIn common: rat, methods / tools, 1 reference - [10] doi:10.1016/j.isci.2026.114689 [code]
- Odor identity decoding by mitral/
tufted cells in the olfactory bulb from large-scale pooled datasets. Journal: iScienceIn common: methods / tools, 1 reference
Contribute
The authors of this paper can claim it, correct its record and validate its tracing map, and the maintainers of its code (its owner, or a public member of its organization) correct what it says of their repository; anyone signed in can ask for its removal. Every request goes to OSCR's own machine, which answers it; your account page follows them.
Sign in with ORCID to claim this paper as one of its authors, correct its record or validate its tracing map: when the paper's metadata lists your ORCID iD, you are recognized at once. Maintainers of its code: sign in with GitHub, then claim the repository on your account page.
Claim this paper
Correct its record
Say what each link of this record is, remove the ones that are not the paper's, add the ones that are missing. The correction becomes a new version of the record, in its Versions section.
Validate its tracing map
You validate the map as this page shows it: 1 repository of the authors' code, each at its verified commit and with its license, 21 scripts, and 2 matches between paragraphs and code (see the Code and Map sections). It then receives a DOI on Zenodo, with you (your ORCID iD) and OSCR as its creators; the code itself is not deposited.
The map's fingerprint: sha256:53c44775520ec30f…
Add the badge to the code's README
If you are an author or a maintainer of this paper's code, you can add this badge. It says what OSCR knows of the paper (its code, its validated tracing map) and links the code to this page. Paste one of these snippets under the README's title. Keep the two marks around it, so that the badge can be replaced in place and is never added twice. OSCR changes nothing in your repository.
Markdown
<!-- oscr-badge:start -->
[](https://openscicode.org/badge/doi/10.1523/eneuro.0460-25.2026)
<!-- oscr-badge:end -->reStructuredText
.. oscr-badge:start
.. image:: https://openscicode.org/badge/doi/10.1523/eneuro.0460-25.2026.svg
:target: https://openscicode.org/badge/doi/10.1523/eneuro.0460-25.2026
:alt: OSCR
.. oscr-badge:endHTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1523/eneuro.0460-25.2026"><img src="https://openscicode.org/badge/doi/10.1523/eneuro.0460-25.2026.svg" alt="OSCR"></a>
<!-- oscr-badge:end -->On GitHub, open the README, choose Edit (the pencil), paste the snippet under the title, then "Commit changes".
If you choose to, you can have the badge kept up to date for you, with oscr badge --write from the command line or with the GitHub Action in your repository's workflows. Every other form and option (a card, AsciiDoc, LaTeX, shields.io) is on the badge page.
Request its removal
To ask OSCR to remove this record, the copies of its authors' scripts or its tracing map, use the removal request page: signed in, you say who you are, what to remove and why, then review and confirm the request. Published rules decide every request (how).
Discussion, reproductions, activity
Discussion: code errors and mismatches between the code and the paper about this paper and its code, from readers and its authors, beside the paper and its tracing map.
Report a mismatch between the code and the paper · Report a code error (signed in)
Reproductions: reports from readers who ran the authors' code and did not get the paper's result, what they ran, with which environment, commit and data.
Report a reproduction failure (signed in)
Versions of its code: the releases of its code tied to a version of this paper (the preprint, the accepted manuscript, the version of record…), each with the tracing map versioned with it.
Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.
