mmagnuski / eegDb

eegDb is an egglab plugin that eases up managing preprocessing routines. It allows to create project databases for reproducible eeg preprocessing with eeglab.
MIT License
3 stars 3 forks source link

Telling apart event-locked vs consecutive epoching #40

Closed mmagnuski closed 9 years ago

mmagnuski commented 10 years ago

Discussion

One problem I am currently having is how eegDb.epoch should work. It should have short, decriptive fields that work for onesecepoch and/or classical epoching.

currently the assumptions are:

  1. locked informs whether onesecepoch is used. When locked is false it means we use epoching that is not event-locked. If no other fields (winlen, distance, etc.) are present this is the only field that differentiatiates whether onesec epoching is used.
    • If locked is false and there are no other fields, default onesecepoch options are assumed
    • if fields are present and do not agree with locked - the user is asked for it OR the locked is changed to match field values

:question: Default onesec options could be filled by some function (or option in buildbase?) for example consec_windows(eegDb) :question: Use subfields epoch.locked and epoch.consec

In menu use consecutive windows instead of onesecepoch - this would be more meaningful. (or some other name - any suggestions?)

Tasks

mmagnuski commented 9 years ago

just reminding myself that this may be important when tracking whether onesec should do its work or if it's already done and present in reject.pre

mmagnuski commented 9 years ago

This should be no longer problematic. Everything relies on locked telling apart windows from epochs.