sampsapursiainen / zeffiro_interface

Interface for using finite elements in inverse problems with complex domains
GNU General Public License v3.0
23 stars 15 forks source link

data: add electrode files #242

Closed mshavliuk closed 1 year ago

mshavliuk commented 1 year ago

This PR adds a set of .dat files for importing electrodes configurations, corresponding to headcaps from different manufacturers. Files may be imported via Import -> electrodes. None of those files include impedance nor the electrode radius.

Some of the electrode locations were taken from https://github.com/fieldtrip/fieldtrip/tree/master/template/electrode and converted to cartesian coordinates

The corresponding datasheets with electrode locations: Biosemi: https://www.biosemi.com/headcap.htm EasyCap: https://www.easycap.de/wp-content/uploads/2018/02/Easycap-10-based-electrode-layouts.pdf HydroCel: https://www.egi.com/knowledge-center/item/71-sensor-position-files-for-visualizing-data-in-third-party-software

mshavliuk commented 1 year ago

Most of these electrode locations were computed as a projection onto a perfect sphere while converting from polar coordinates and thus require additional adjustment to better fit an ovoid head.

Here is an example of affine transformations and shifts for a more or less good result applied to biosemi-256:

Screenshot 2023-07-06 at 18 09 57