Closed UdaiLaith closed 4 months ago
Hey BR Udai,
Thank you for your interest in PhysioLabXR!
To answer your question, yes tmin can be negative, and if it's negative. The start of the epoch is before the event marker.
You are right. For motor imagery, when the event marker signals the initial concentration, it makes more sense to use a positive value when the desynchronization actually kicks in.
On the other hand, for ERP, we take the 0.1 second before the epoch to perform baselining for the epoch.
I just updated the docstring to make it more information. Check it out.
Hope it helps :)
Dear ApocalyVec
Thank you very much, for answering and clarifying. Also, thank you for updating the docstring.
Helps a lot.
Cheers, Udai
Dear all,
Firstly, awesome framework you all came up with. In the past few days I was trying to understand some functions. Could someone explain to me if the value for tmin needs to be positive or negative in: physiolabxr/scripting/physio/epochs.py:
The comment says it's the time before an event marker to include. In the motor imaginary example I've seen a positive value and in the ERP example I've seen negative values. If I look at the variable:
A negative value would mean we are including the time before the epoch. Is that correct? And if so, why are we taking a positive tmin value in the motor imaginary example? Is it because we do not want to have the initial concentration phase?
Thank you in advance.
BR Udai