pyCGM_Single.pycgmStatic.normDiv

pyCGM_Single.pycgmStatic.normDiv(v)

Normalized divison function

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

Parameters
vlist

A 3-element list.

Returns
list

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

Examples

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