Functional connectivity resting state EEG

Hi guys,
I have some eyes-closed resting state data. I would like to do a graph
analysis and a minimum spanning tree analysis using MNE.
Which is the best procedure in this case to remove artifacts? How can I
remove bad segments from the raw data and then build the epochs on the
remaining good data?

Kind Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20180410/f4cd4970/attachment.html