Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improve template layouts #2336

Open
robertoostenveld opened this issue Nov 3, 2023 · 0 comments
Open

improve template layouts #2336

robertoostenveld opened this issue Nov 3, 2023 · 0 comments

Comments

@robertoostenveld
Copy link
Contributor

Following fieldtrip/website#723 I wanted to add the FieldLine alpha1 layout to the website, which made me realize that the https://www.fieldtriptoolbox.org/template/layout/ page was not well organized. The ToC on the right side was hard to use (since too many items) and did not distinguish between EEG, MEG and others. Also, some had the comment and scale at the bottom, some at the top, and some not at all.

With fieldtrip/website@05fa045 and some follow up commits I have refreshed the layouts and reorganized the documentation. In this process I realized that over time ft_prepare_layout defaults apparently have changed a bit and that some layouts (specifically the ones from lay files) have changed compared to the images there.

It would be good to improve the quality of the template layouts. I discussed this with @schoffelen and we came up with the following:

  1. Right now ft_prepare_layout only includes a circle as head; we could also add realistic (egg-shaped) heads and outlines that go beyond the ears. We could also add double circles with a cross, as used in most of the original drawings of the easy cap layouts (with Oz on the inner and Iz on the outer circle).

  2. We should recreate all lay files as mat files, so that they become independent of ft_prepare_layout changes. That means that the head outline gets hard-coded.

  3. We should allow ft_prepare_layout to scale and shift the layout, when starting from an electrode set. Combined with a double-circle-with-cross outline, that should help get the electrodes projected at the desired 2D positions.

  4. We should include realistic layouts for 10-20, 10-10 and 10-5 electrode arrangements, including a topographic interpolation that goes beyond the ears

  5. We might want to change some of the circular layouts such that the topographic interpolation goes beyond the ears (i.e., in EEGLAB style).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant