backend.simulator¶
- class backend.simulator.DecoderSimulator¶
- excluded_params = ['n_dof', 'n_features']¶
- __init__()¶
Initialize self. See help(type(self)) for accurate signature.
- get_editable_params()¶
Used by GUI
- update_settings(raw_settings, n_dof, n_features)¶
- simulate(movements, repetitions=1, gen_initial_params=False)¶
- default_initialization_params = {'move_noise': (0.01, 0.05, 0.03), 'rest_noise': (0.01, 0.05, 0.03)}¶
- class backend.simulator.EMGSimulator¶
- excluded_params = ['n_dof', 'n_features', 'S', 'X', 'L', 'current_params', 'current_A', 'initial_A', 'raw_samples_per_drift_timestep', 'drifting', 'drifting_MUAP_coefficients']¶
- __init__()¶
Initialize self. See help(type(self)) for accurate signature.
- update_settings(raw_settings, n_dof, n_features)¶
- get_editable_params()¶
Used by GUI
- update_from_params(params: dict)¶
Update this object’s attributes using the params dict. Any attributes in the excluded_params list will not be updated
- gen_initial_params()¶
- simulate(movements, rest_range=None, relax_pos=0, gen_initial_params=False, repetitions=1, shuffle=False)¶
- A(n)¶
- sigma(AP_length)¶
- noise(eta)¶