Get number of dropped epochs per channel

Hi,
I want to create a table with the number of dropped epochs per channel. I found the function epochs.plot_drop_log() which allows me to visualize the number of dropped epochs but it shows the number of epochs where any channel is marked as bad. Also, it is not the output format I want to achieve. Can you suggest a way to output the number of dropped epochs per channel?

Any help is highly appreciated!
Thanks.

Hello,

You can look into epochs.drop_log, it contains the channel name(s) that yielded the dropped epoch (or the other reason, e.g. manual drop or annotation-based).

Mathieu