Given velocity of three points on a quasi-rigid body, calculate the angular velocity of a quasi-rigid body.
See Terpsma RJ, Hovey CB. Blunt Impact Brain Injury Using Cellular Injury Criterion. Sandia National Lab.(SNL-NM), Albuquerque, NM (United States); 2020 Oct 1 (SAND2020-11444), pp 100-109. Download (20 MB) at OSTI.
The three-point angular velocity (tpav) algorithm is applied to a mildly deformable (quasi-rigid) body, and compared to a rigid body dynamics simulation reference.
(siblenv) [~/sibl/xyfigure/process/tpav]$ python client.py --help
usage: client.py [-h] [--verbose] history history_to_tpav
positional arguments:
history history is a '.csv' that contains the SSM tracer points
output file
history_to_tpav history_to_tpav is a '.json' file that maps 'history.csv'
to tpav API format [t, rPx, rPy, rPz, rQx, rQy, rQz, rRx,
rRy, rRz, vPx, vPy, vPz, vQx, vQy, vQz, vRx, vRy, vRz],
output angular velocity file is 'angular_velocity.csv'
optional arguments:
-h, --help show this help message and exit
--verbose increased feedback in command line
(siblenv) [~/sibl/xyfigure/process/tpav]$ python ../../code/client.py tpav_postpro.json
We observe that the angular velocity output from the tpav algorithm has:
To quiet the high frequency noise and retain only the low frequency signal, we use a 5 Hz, 4th-order, low-pass Butterworth filter the tpav_postpro.json file, which produces the filtered tpav angular velocity: