convert discontinuous data to continuous

Hi MNE users,

I’ve epoched my data to remove artifacts using make_fixed_length_epochs() function. Is there any way to convert the 3D epoched data (EpochschannelsSamples) back to the initial type and format (2D data (Channels*Samples))?

Thank you,

Hello @Mostafa,

are you sure you really want to do that? The reconstructed continuous data will most likely have discontinuities if you removed any epochs, and this can cause problems down the road…

setting aside whether it is a good idea, there is some code in this answer that will get you there.

1 Like

Thank you @richard and @drammock . You are right. it doesn’t look a good idea. I found another way around to solve my problem.