The additions to the already existing MNE functionality are the cubic-spline interpolation of the TMS-artefact and the threshold based ICA-component classification.
All credit should go to:
https://github.com/nigelrogasch/TESA
from where the logic is adapted.