Closed wanjam closed 7 years ago
func_importBehavior loops over all events to assign trial-wise information from the log-file to the eeg struct. In case you have more than one event per epoch, doesn't this multiply computation time?
edit: the loop makes sense, as it fills up the event structure. Nevertheless, vectorization would be a good idea.
The last couple of commits included several improvements concerning this...
To speed things up, we could check the code for possibilities to vectorize or parallelize processes.