Skip to content

Swc to comp mapping#771

Open
michaeldeistler wants to merge 11 commits into
mainfrom
swc_to_comp_mapping
Open

Swc to comp mapping#771
michaeldeistler wants to merge 11 commits into
mainfrom
swc_to_comp_mapping

Conversation

@michaeldeistler
Copy link
Copy Markdown
Contributor

@michaeldeistler michaeldeistler commented Jan 6, 2026

cell = jx.read_swc(fname, ncomp=1)

cell.set_scope("global")
cell.comp(cell.swc_to_comp[1228])  # Takes an SWC index, returns the compartment that it belongs to.

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