Script to rename event


I am using the 'Detect other artifacts' function, followed by 'Artifacts > SSP: Generic' to help detect ocular artifacts. This involves re-naming the 1-7Hz output (included as an event) from the first process as 'Saccade'. Is there a way to re-name this '1-7Hz' event using scripts?

Hi David,

Sure! You can do it from a script with the Events -> Rename event process (process_evt_rename). It requires the raw file to modify as input, as well as the current and new event name.


Thanks Martin!