neurom.analysis.morphmath.vector_projection¶
-
neurom.analysis.morphmath.
vector_projection
(v1, v2)¶ compute the vector projection of v1 upon v2
Parameters: - v2 (v1,) – iterable
- 0, 1, 2 corresponding to cartesian coordinates (indices) –
Returns: 3-vector of the projection of point p onto the direction of v