get_emg_trials_by_condition#

pyCGM2.flow.settingsHandler.get_emg_trials_by_condition(data, condition_id)#

Return the trial files with EMG of a condition.

Both Emg['Trials'] (if defined) and Fitting['Trials'] with Emg == True are explored.

Parameters:
  • data (dict) – flow user settings (loaded YAML).

  • condition_id (str) – Condition identifier (e.g. Condition1).

Returns:

list – Trial filenames with EMG.