axon_synthesis.synthesis.source_points¶
Create the source points from the atlas.
Functions
|
Combine rebuilt existing axons with explicitly given axons. |
|
Find the files corresponding to the given morphology names. |
|
Find the positions of the existing axons in a morphology. |
|
Find the population given the position of the morphology and the populations. |
|
Find the position of the last point of the section from its ID. |
|
Extract source points from a cell collection. |
- axon_synthesis.synthesis.source_points.combine_existing_axons(cells_df)¶
Combine rebuilt existing axons with explicitly given axons.
- axon_synthesis.synthesis.source_points.fill_morph_file_col(cells_df, morph_dir)¶
Find the files corresponding to the given morphology names.
Warning
The validity of the morphology files is not tested but only their existence.
- axon_synthesis.synthesis.source_points.find_existing_axons(morph_file)¶
Find the positions of the existing axons in a morphology.
- axon_synthesis.synthesis.source_points.map_population(cells_df: DataFrame, atlas: AtlasHelper | None, populations: DataFrame | None = None, *, rng: None | int | Sequence[int] | SeedSequence | BitGenerator | Generator = None)¶
Find the population given the position of the morphology and the populations.
- axon_synthesis.synthesis.source_points.section_id_to_position(morph, sec_id)¶
Find the position of the last point of the section from its ID.
- axon_synthesis.synthesis.source_points.set_source_points(cells_df: DataFrame, atlas: AtlasHelper | None, morph_dir: str | PathLike, population_probabilities: DataFrame | None = None, axon_grafting_points: DataFrame | None = None, *, rng: None | int | Sequence[int] | SeedSequence | BitGenerator | Generator = None, rebuild_existing_axons: bool = False, logger: Logger | LoggerAdapter | None = None)¶
Extract source points from a cell collection.