myogen.simulator.SurfaceEMG.add_noise#
- SurfaceEMG.add_noise(snr_db, noise_type='gaussian')[source]#
Add noise to all electrode arrays.
This method adds realistic noise to the simulated surface EMG signals based on a specified signal-to-noise ratio. The noise characteristics can be customized to match different recording conditions.
- Parameters:
- Returns:
Noisy EMG signals for each electrode array. Results are stored in the noisy_surface_emg__tensors property after execution.
- Return type:
list[SURFACE_EMG__TENSOR]
- Raises:
ValueError – If surface EMG has not been simulated. Call simulate_surface_emg() first.