braincell.filter module

braincell.filter module#

braincell.filter provides the selection algebra used to say where on a cell a mechanism is installed. Regions select extended sets of cable (paint targets); locsets select sets of points (place targets). Both compose through union / intersection / difference. See Regions & Locsets for the conceptual guide.

Regions#

RegionExpr

Base class for lazy region selectors.

AllRegion

EmptyRegion

SubtreeRegion

BranchRangeFilter

BranchInFilter

BranchSlice

RadiusRangeRegion

EuclideanDistanceRegion

TreeDistanceRegion

RegionAnchors

RegionMask

Materialized region selection as (branch, prox, dist) intervals.

RegionSetOp

Composite selector produced by set algebra on region expressions.

Locsets#

Helpers#

Caching#