Skip to content

Feature request: Sholl: Extend "skip somatic segments" to multi-node soma paths? #266

Description

@tferr

Currently, TreeParser.setSkipSomaticSegments(true) only takes effect when the
soma is represented as a single-point path (i.e., soma.onPath.size() == 1). If
the soma path has more than one node, the flag is silently ignored (a warning is
now emitted as of the latest commit, but the segments are still included).
IIRC, the feature exists specifically for microglia and similar cells where the somatic
connector segments would otherwise inflate the innermost Sholl counts.

The question is whether the feature should be generalized to soma paths of any
length. Two possible interpretations:

  1. Skip the entire soma path regardless of node count, and skip the first
    segment of primary paths that connect to it. This would be consistent with
    the current intent
  2. Skip only the segments that lie within the bounding extent of the soma
    path
    (e.g., within its maximum radius), which would be geometrically more
    principled but more involved to implement

Option 1 seems like the natural extension and a low-risk change!? Leaving it here
for discussion, and documentation of the current status

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions