axon_synthesis.inputs.clustering.extract_terminals

Extract the terminal points of a morphology so that a Steiner Tree can be computed on them.

Functions

process_morph(morph_path, morph_name)

Extract the terminal points from a morphology.

process_morphologies(morph_dir[, ...])

Extract terminals from all the morphologies in the given directory.

axon_synthesis.inputs.clustering.extract_terminals.process_morph(morph_path: str | PathLike, morph_name: str) list[tuple[str, int, int, int, float, float, float]]

Extract the terminal points from a morphology.

axon_synthesis.inputs.clustering.extract_terminals.process_morphologies(morph_dir: str | PathLike, parallel_config: ParallelConfig | None = None) DataFrame

Extract terminals from all the morphologies in the given directory.