Difficulty Indexing EpochsTFR Object with Boolean Mask

Hello,

Could you please share some more info from the error traceback? Does it happen to look like this?

If so, this is a bug that was recently fixed and is available in the development version of MNE. If you don’t want to use the development version, a workaround is to initialise the drop log in the EpochsTFRArray object as drop_log=tuple([() for _ in range(n_epochs)]) instead of the default None.

If it’s not the same error, would you be able to share the EpochsTFR object you are having issues with and we can look into it.

Best,
Thomas