axon_synthesis.synthesis.target_points¶
Find the target points of the input morphologies.
Functions
|
Compute the target coordinates if they are missing. |
|
Drop points that are closer to a given distance. |
|
Find the target points for all given source points. |
|
Pick target populations for each source point. |
|
Select points that are closer to a given distance. |
- axon_synthesis.synthesis.target_points.compute_coords(target_points: DataFrame, brain_regions_masks: File | None, rng: Generator, *, atlas: AtlasHelper | None = None) None¶
Compute the target coordinates if they are missing.
- axon_synthesis.synthesis.target_points.drop_close_points(all_points_df: DataFrame, duplicate_precision: float | None) DataFrame¶
Drop points that are closer to a given distance.
- axon_synthesis.synthesis.target_points.get_target_points(source_points, target_probabilities, tufts_dist_df: DataFrame | None = None, duplicate_precision: float | None = None, *, atlas: AtlasHelper | None = None, brain_regions_masks: File | None = None, rng: None | int | Sequence[int] | SeedSequence | BitGenerator | Generator = None, max_tries: int = 10, output_path: str | PathLike | None = None, logger: Logger | LoggerAdapter | None = None)¶
Find the target points for all given source points.
- axon_synthesis.synthesis.target_points.pick_target_populations(probs, rng, logger=None, max_tries=10)¶
Pick target populations for each source point.