pyCGM_Single.pyCGM.normDiv

pyCGM_Single.pyCGM.normDiv(v)

Normalized divison.

This function calculates the normalization division of a 3-dimensional vector.

Parameters
vlist

A 3D vector.

Returns
array

The divison normalization of the vector returned as a float in an array.

Examples

>>> import numpy as np
>>> from .pyCGM import normDiv
>>> v = [1.44, 1.94, 2.49]
>>> np.around(normDiv(v), 2)
array([0.12, 0.16, 0.21])