EEG recording with two periods: a task period and a resting-state period; only the task data will be analyzed. Planning to use ICA for artifact removal. Should the task period be separated from the resting-state period first and ICA run only on the task data, or is it better to run ICA on the entire continuous recording (task + rest) and apply the resulting decomposition to the task data?