neurots.astrocyte.point_cloud¶
Point cloud class for synapses.
Classes
|
Point cloud data structure with internal gridding for ball and nearest neighbor queries. |
- class neurots.astrocyte.point_cloud.PointCloud(points)¶
Bases:
object
Point cloud data structure with internal gridding for ball and nearest neighbor queries.
The points that are removed are not removed from memory, but invalidated.
- Parameters:
- default_removal_radius¶
A default radius that will be used for the remove_points_around if an explicit value is not passed in the method.
- Type:
- default_radius_of_influence¶
A default radius for the calculation of the average direction if an explicit value is not passed in the method.
- Type:
- property available_ids¶
Returns ids of available points.
- property available_points¶
Returns available points.
- ball_query(point, radius)¶
Ball query around point with radius.
- nearest_neighbor(point, radius)¶
Get the nearest neighbor to the point with cuttoff radius.
- nearest_neighbor_direction(point, radius)¶
Get nearest neighbor direction.
- partial_ball_query(point, radius, direction, cap_angle_front, cap_angle_back)¶
Truncated ball query.
- property points¶
Returns point cloud points.
- remove_hemisphere(point, direction, radius)¶
Remove hemisphere that points to direction.
- remove_ids(point_ids)¶
Remove points ids.
- remove_points_around(point, radius)¶
Remove the points in the sphere located at point with removal_radius.
- property removed_ids¶
Returns ids of removed points.
- property removed_points¶
Returns removed points.
- upper_half_ball_query(point, radius, direction)¶
Hemisphere query around point directed to direction.