I have a dataset of an EEG recording referring to a task characterized by several "rest periods", during which the recording is not interrupted. For this reason, I was thinking that removing all these periods by epoching the recording and time-locking it to my ERPs of interest would facilitate the ICA by isolating only the artifacts occurring during my time-window of interest. However, I was warned to be careful with this operation since it can cause artifacts occurring along different epochs to overlap with each other. Any suggestion about the feasibility of this approach would be greatly appreciated. Thanks