diff --git a/docs/source/submodules/stimulus_data.rst b/docs/source/submodules/stimulus_data.rst index 59dbaa5..e1a4e46 100644 --- a/docs/source/submodules/stimulus_data.rst +++ b/docs/source/submodules/stimulus_data.rst @@ -117,7 +117,7 @@ do the following: .. code-block:: python - stim.delete_events(del_index=24, digital=True, digital_channel="DIGITAL-IN-01") #python is 0 based so 25th event is 24 index + stim.delete_events(del_index=24, digital=True, channel_name="DIGITAL-IN-01") #python is 0 based so 25th event is 24th index Saving files for easy loading ----------------------------- @@ -159,4 +159,4 @@ And remember to :code:`save_events`. stim.run_all(stim_length_seconds=10, stim_name=['ana1']) stim.set_trial_groups(trial_dictionary=my_dictionary) stim.set_stimulus_name(stim_names=my_name_dictionary) - stim.save_events() \ No newline at end of file + stim.save_events()