Skip to content

Dataset for multiple conditions #65

Open

Description

@jsosulski

Hi,
I am currently writing a wrapper for a P300 dataset of ours. We recorded auditory oddbal under different conditions, e.g. interstimulus interval. How would you recommend to handle this using the dataset architecture of moabb? In my opinion it does not make sense to pool data across ISIs, hence I can either split the conditions by using 'fake subjects', i.e. 'subject_1_isi_200' 'subject_1_isi_500' or use 'fake sessions'.

A different approach would be to define this in a custom paradigm, but I reckon this defeats the purpose of the benchmark aspect of moabb?

Activity

  1. vinay-jayaram commented on Nov 16, 2019

    @vinay-jayaram
    Collaborator

    what we need is a better way of notating metadata that allows us some flexibility in terms of the criteria we use for searching. As of now that is not implemented...so my suggestion is to write your own paradigm for now. In the future, if there is more interest in expanding this repo, we should re-write the BaseDataset to, instead of hard-coding certain attributes, have a properly schema-checked metadata attribute

  2. jsosulski commented on Mar 18, 2021

    @jsosulski
    CollaboratorAuthor

    Reviving this issue.
    How about adopting a results structure as is done in BIDS?

    E.g. an example structure from a BIDS file:

    sub-<label>[_ses-<label>]_task-<label>[_acq-<label>][_run-<index>][_recording-<label>]_physio.json

    Here we have:

    • sub: subject, we already have this
    • ses: session, we already have this
    • task: so far we assume, every subject in a session / dataset performs the same task.
    • acq: acquisition parameters, i.e. conditions. I would need something like this to push my dataset to moabb
    • run: we have this already
    • recording: I dunno

    For the current datasets we can just plug in "default" or something for all the columns we dont need/want.
    What do you think @sylvchev?
    Would an approach like this fix your issues @Div12345 ?

  3. self-assigned this
    on Mar 18, 2021
  4. sylvchev commented on Mar 18, 2021

    @sylvchev
    Member

    Seems nice to stick with a structure close the one used in BIDS!

    This seems reasonable to have a structure like the one you mentioned. We could indeed use default parametrization for existing datasets. This will require to update the BaseDatasetand Results classes?

  5. jsosulski commented on Mar 19, 2021

    @jsosulski
    CollaboratorAuthor

    I can check in the next days what changes would be necessary but that sounds like the gist of it.

    An added benefit of having this structure internally is that it would make adding BIDS datasets quite trivial.

  6. bruAristimunha commented on Apr 18, 2023

    @bruAristimunha
    Collaborator

    Hi @jsosulski,

    Checking the status of old issues!

    I was wondering, does this issue still make sense?

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions