ENH: add ems filtering

cosmits

revert