nirs.modules.RenameStims
This module can renames stimulus condition.
Example Usage:
% This example show how to rename stimulus events from
% ‘A’ and ‘B’ to ‘TaskA’ and ‘TaskB’
raw = nirs.testing.simData([], @(t)nirs.testing.blockedStimDesign(t,15,25,2));
% task-based 15s duration, 25s between onset, and 2 conditions
job = nirs.modules.RenameStims();
job.listOfChanges = {‘A’, ‘TaskA’; ‘B’, ‘TaskB’}
raw = job.run(raw);