Skip to content

Artifacts in EPFL dataset #96

Closed

Description

@jsosulski

While writing our last paper we noticed that the EPFL datasets produced strange artifacts in some epochs, but we did not have the time to investigate the dataset itself. Now I took a closer look and debugged the dataset.

Here are the average target ERPs for the third subject:

image

When looking at a file that is loaded for subject 3, I noticed that the last X samples are all 0 for all signals, which (in conjunction with band-pass filtering) explains the artifacts that are shown in the ERP:

image

My bandaid solution right now is to find the first time point for which all signals == 0 and then cut off that part of the data, now the ERPs look more realistic:

image

While we lose 8 target epochs for subject 3, the results make imo more sense. However, I do not know whether this is a valid solution or whether something's wrong with currently uploaded EPFL data.
In the last plot, I additionally scaled the EPFL data by 1e-6, as I assumed that data was stored natively in uV.

If this solution would be acceptable, I will send a PR with my changes.

Activity

  1. sylvchev commented on Jun 24, 2020

    @sylvchev
    Member

    Thank you, this is a very nice digging and the updated results speaks loudly in favor of your "bandaid". Did you contact the dataset authors?
    From my point of view, it is a clear problem in the signal leading to noise in the label. I'm in favor of adding your patch in MOABB!

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions