Skip to content

Add DisplayMap to OpticalStimulationConfig - #83

Merged
calvinleng-science merged 2 commits into
mainfrom
maxr/optical-stim-display-map
Aug 5, 2026
Merged

Add DisplayMap to OpticalStimulationConfig#83
calvinleng-science merged 2 commits into
mainfrom
maxr/optical-stim-display-map

Conversation

@namthor9

@namthor9 namthor9 commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

Adds a DisplayMap message (row_map / col_map) and an optional display_map field (7) to OpticalStimulationConfig.

Display ICs may have arbitrary mappings between display pixels and driver outputs. Previously, this mapping was hard-coded in peripheral implementations, which did not allow for easy configurability for different probe designs.

Adds a DisplayMap message (row_map/col_map) and an optional display_map field
to OpticalStimulationConfig, for runtime-configurable optical-stim pin mapping.
Index = logical row/col, value = physical chip pin; map lengths define the
display dimensions.
@calvinleng-science
calvinleng-science force-pushed the maxr/optical-stim-display-map branch from 03532bb to d392981 Compare August 4, 2026 23:41

@calvinleng-science calvinleng-science left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bumped the version and added a comment explaining the expectation for implementers of DisplayMap

@calvinleng-science
calvinleng-science merged commit 4c9e9c4 into main Aug 5, 2026
2 checks passed
@calvinleng-science
calvinleng-science deleted the maxr/optical-stim-display-map branch August 5, 2026 00:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants