fillEmgLayout#
- pyCGM2.Mek.mek.mekPlot.fillEmgLayout(layout, userSettings, conditionId)#
Fill an EMG layout (
EMG1_16,EMG1_10…) from the flow user settings.Each configured muscle is assigned to a plot, in the order of the EMG channels. Plots beyond the number of muscles are removed.
- Parameters:
layout (dict) – EMG layout (modified in place and returned).
userSettings (dict) – flow user settings (e.g. read with
mekLib.readYamlAttribute).conditionId (str) – Condition identifier (e.g.
"Condition1").
- Returns:
dict – The filled layout.