Accompanying code for the publication "Integrating direct brain stimulation with the human connectome (https://doi.org/10.1093/brain/awad402). Data can be downloaded from Zenodo: https://zenodo.org/records/10439149
Please do not forget to cite our work if you use the data and/or the code here provided