May I suggest that you also read :
Meincke, J., Hewitt, M., Batsikadze, G., Liebetanz, D., Jan. 2016. Automated TMS hotspot-hunting using a closed loop569 threshold-based algorithm. NeuroImage 124, Part A, 509–517.
and also
Automatized set-up procedure for transcranial magnetic stimulation protocols S Harquel, J Diard, E Raffin, B Passera, G Dall'Igna, C Marendaz, O David, ... Neuroimage 153, 307-318 https://pubmed.ncbi.nlm.nih.gov/28389385/