simulate_muscle: Simulate a surface electromyogram and force resulting from...

View source: R/simulate.r

simulate_muscleR Documentation

Simulate a surface electromyogram and force resulting from muscle acticity

Description

Given a virtual experimental set-up, simulate the sEMG and force data resulting at a set of electrodes from activity in several muscles.

Usage

simulate_muscle(
  config_file,
  deterministic = FALSE,
  out_file = NULL,
  num_cores = 1
)

Arguments

config_file

Specifies the simulation config file to be read. Must specify a number of physiological parameters. See section Details for more information.

out_file

Optional. If given, specifies a file to save the simulation environment(). Results can be loaded via readRDS(out_file) afterwards.

num_cores

Number of cores to use for various parts of the simulatino that can be performed in parallel. Optional, default=1.

MoreArgs

A list of parameter name - value pairs. Can be used to provide necessary model parameters that are missing in the config_file.

Details

Implements a physiologically sound and detailed mathematical model of motor unit activity and the volume conductors represented by skin and fat tissues between muscle and electrodes. Many (in fact, practically all except the underlying base model) physiological parameters can be configured by providing an appropriate config file.

For more details regarding the simulation model, refer to the paper Petersen and Rostalski (2019): "A Comprehensive Mathematical Model of Motor Unit Pool Organization, Surface Electromyography and Force Generation", doi: 10.3389/fphys.2019.00176.

Note

Currently, effects resulting from fatigue are not implemented.

Author(s)

Eike Petersen


ime-luebeck/semgsim documentation built on April 14, 2022, 11:02 p.m.