lrkrol / SEREEGA

SEREEGA: Simulating Event-Related EEG Activity
64 stars 17 forks source link

Units of Measure and Brainstorm conversion function #18

Closed d-scanzi closed 1 year ago

d-scanzi commented 2 years ago

Hi there,

This PR covers two aspects:

1 - I have added a section on the README file about the issue regarding the different units of measure across leadfields. I believe it is important for the user to be aware of this to interpret the results correctly. 2 - I added a function that allows the user to convert a leadfield generated in Brainstorm into a SEREEGA lf structure. This would open up the possibility of using individual/personal MRI in SEREEGA. The function comes with a default headfield and associated files (channel location and MRI T1 image) and can be used as it is to convert this leadfield. However, the user can replace these files with their own. This function converts the dipole information from the SCS system used by Brainstorm to the MNI system required by SEREEGA. It also modifies the provided channel location so that they can be correctly read through EEGLAB.

Hope this might be helpful,

Daniele

d-scanzi commented 1 year ago

Needs to be updated and improved