get_EmgRepresentative#

pyCGM2.flow.settingsHandler.get_EmgRepresentative(settings, condition_id)#

Return the EMG representative trial of a condition.

Parameters:
  • settings (dict) – flow user settings.

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

Returns:

str – Trial filename.

Raises:

Exception – If the condition is not found.