myogen.simulator.IntramuscularEMG.simulate_muaps#

IntramuscularEMG.simulate_muaps()[source]#

Simulate MUAPs for all electrode arrays using the provided muscle model.

This method generates intramuscular Motor Unit Action Potential (MUAP) templates by simulating individual motor units with realistic neuromuscular junction distributions and fiber action potential propagation.

Returns:

Intramuscular MUAP shapes for all electrode arrays. Results are stored in the muaps property after execution.

Return type:

INTRAMUSCULAR_MUAP_SHAPE__TENSOR

Notes

This method must be called before simulate_intramuscular_emg(). The process includes: (1) motor unit initialization, (2) neuromuscular junction simulation, and (3) MUAP calculation with spatial filtering.