Donders-Institute / PRESTUS

PREprocessing & Simulations for Transcranial Ultrasound Stimulation package
GNU General Public License v3.0
12 stars 10 forks source link

Isppa and heating maps are incorrectly transformed to MNI space #23

Open KTZ228 opened 1 year ago

KTZ228 commented 1 year ago

Caused by smooth_and_crop_layered & smooth_and_crop_skull functions not applying transforms to MNI transformation matrix but only to the structural data itself. Since you would only transform subject data MNI space when looking at groups, it will not affect the individual results.

KTZ228 commented 1 year ago

When comparing *final_medium_masks_orig* to *final_medium_masks_MNI* we can see that incorrect labels such as neural tissue are placed alongside the borders of bodies in the latter whereas these were not yet there in the former. Indicating that this issue is caused by the translation of the segmented mask to MNI space.

KTZ228 commented 11 months ago

This is fixed, will submit in a future pull request, additional comments explaining the issue and fix can be found here: https://github.com/simnibs/simnibs/discussions/175