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

Time index for input data #6

Open
Trang0412 opened this issue Apr 24, 2020 · 1 comment
Open

Time index for input data #6

Trang0412 opened this issue Apr 24, 2020 · 1 comment

Comments

@Trang0412
Copy link

Hello,
I am now trying to use mTRF toolbox for auditory related EEG signal data.
I'm quite confused about the time index of input.
How can I identify the time index of EEG as input for mTRcrossval or mTRFtrain?
For example, we got the EEG data recorded from -500ms to 2500 after the stimuli onset. In this case, which ranges of data should I put as input for the model? Or just put the signal recorded from 0ms after stimuli onset time?
If in this case, then we can not get results at -200ms time lag, is it right?

@mickcrosse
Copy link
Owner

Hi,
From your description, I'm assuming that your EEG trials are 3 seconds long, correct? And your stimuli are less than that? The time-lags you input should reflect a window of temporal delays between your stimulus and EEG response - think of the timecourse of an ERP for example. So a safe bet would be to use something like tmin=0 and tmax=300 (milliseconds). Make sure that the onset of your stimulus corresponds to the start of the EEG data though (so I think you would remove the first 500 ms of EEG?). Does that make sense?
Mick

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