neurom.analysis.morphmath.scalar_projection¶
-
neurom.analysis.morphmath.
scalar_projection
(v1, v2)¶ compute the scalar 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