OverlaySpec#
- class braincell.vis.OverlaySpec(region=None, locset=None, values=None)[source]#
User-facing overlay request passed through
plot2d/plot3d.The scene builders translate this into concrete overlay primitives (
HighlightStroke2D/Marker2D/HighlightStroke3D/Marker3D) that the backends then render on top of the base scene.Fields are plain masks so callers can build them with
region_expr.evaluate(morpho)/locset_expr.evaluate(morpho).valuesmay be either a bare array (interpreted with default styling) or aValueSpeccarrying colormap / bounds / label information.