axon_synthesis.synthesis.main_trunk.steiner_morphology

Create morphologies from the Steiner Tree solutions.

Functions

build_and_graft_trunk(morph, ...[, ...])

Build and graft a trunk to a morphology from a set of nodes and edges.

plot(morph, initial_morph, figure_path)

Plot the Steiner morphology.

axon_synthesis.synthesis.main_trunk.steiner_morphology.build_and_graft_trunk(morph: Morphology, source_section_id: int, edges: DataFrame, *, output_path: str | PathLike | None = None, figure_path: str | PathLike | None = None, initial_morph: Morphology | None = None, logger: Logger | LoggerAdapter | None = None) int

Build and graft a trunk to a morphology from a set of nodes and edges.

axon_synthesis.synthesis.main_trunk.steiner_morphology.plot(morph, initial_morph, figure_path)

Plot the Steiner morphology.