pyCGM_Single.Pipelines.prep¶
- 
pyCGM_Single.Pipelines.prep(trajs)¶ Prepare frames function
- Parameters
 - trajsdict
 A dictionary containing arrays.
- Returns
 - frameslist
 A list with multiple dictionaries.
Examples
>>> import numpy as np >>> from .Pipelines import prep >>> trajs = {'trajOne': np.array([[217.19, -82.35, 332.26], ... [257.19, -32.35, 382.26]])} >>> prep(trajs) [{'trajOne': array([217.19, -82.35, 332.26])}, {'trajOne': array([257.19, -32.35, 382.26])}]