gatherCycles#

pyCGM2.Mek.lib.mekLib.gatherCycles(data_group, label)#

Gather all cycle datasets of a label found in a group (searched recursively).

Parameters:
  • data_group – moveck group.

  • label (str) – Label of the variable (the dataset path must contain the label and Cycle).

Returns:
  • Tuple[np.ndarray, List[dict]] – Stacked cycle values (cycles x frames x components)

  • and the attributes of each cycle dataset.