OverlaySpec#
- class braintools.visualize.morphology.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.regionandlocsetacceptRegionData/LocsetData, or any object exposingintervals/points(an evaluated selection mask); they are normalised on construction.valuesmay be either a bare array (interpreted with default styling) or aValueSpeccarrying colormap / bounds / label information.