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

Dealing with multiple subjects #12

Closed
arnodelorme opened this issue Oct 11, 2019 · 5 comments
Closed

Dealing with multiple subjects #12

arnodelorme opened this issue Oct 11, 2019 · 5 comments

Comments

@arnodelorme
Copy link
Owner

arnodelorme commented Oct 11, 2019

Import

The issue is that mffmatlabio does not provide any information that can be used to tell the subjects apart as it provides zero subject information.

EEGlab’s interface doesn’t need this information as it doesn’t really support combined subject averages in the first place.

Solution 1

So leaving aside the export support for now, would it be possible to add some additional information in the .hdr.org structure that would enable a user to determine which segment came from which subject?

Solution 2

I haven’t tried EEGlab out in this respect, but it sounds like for importing into .study structures, EEGlab just has you label each subject manually. In other words, multiple subject averages should be imported as studies.

Export

On the export side, I appear to be running into a difference between the EEGlab and EGI file format philosophies. If I understand your routines correctly, they are designed to export the equivalent of a .set file (which is to say, one cell from one subject). As I recall, EEGlab relies on the .study structure to handle multiple subjects and segments (with the Widmann variant handling the former and the .erp variant handling the latter). EGI files (such as mff), on the other hand, are designed for a single combined file that contains all the segments and subjects for a given dataset. Is it possible to output such a combined file with the current v3 code? Or do I need to just export each segment as a separate .mff file? If so, I would request support for a .study to .mff conversion procedure.

@arnodelorme arnodelorme changed the title Telling subjects apart not possible Dealing with multiple subjects Oct 11, 2019
@arnodelorme
Copy link
Owner Author

Joe, my plan is to add the subject information in the time locking event. The alternative would be to import the data in an EEGLAB study, but STUDY work with single trials and these are trial averages. Would adding the subject information the time-locking event work for you.

@jdien07
Copy link

jdien07 commented Oct 12, 2019

Yes, that would be a perfect solution!

Joe

@arnodelorme
Copy link
Owner Author

OK, I will let you know when it is done so you can have a look.

@jdien07
Copy link

jdien07 commented Oct 13, 2019 via email

@arnodelorme
Copy link
Owner Author

I have implemented the changes for both grand average files and individual average files.

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

No branches or pull requests

2 participants