Electric and magnetic brain signals recordings (M/EEG, sEEG, LFP) are prone to a contamination by so-called artifacts, which do not have a neural origin but are caused by sensor problems, external electro-magnetic sources, or by bio-signals such as muscle activity.