sccn / roiconnect

ROI connectivity analysis in EEG
39 stars 17 forks source link

New features in roi_activity and pop_roi_connect + minor changes #14

Closed nguyen-td closed 1 year ago

nguyen-td commented 1 year ago

Major changes can be found in the slides attached Gitpull_29092022.pdf

Test pipeline tdn_test_pipeline.txt

arnodelorme commented 1 year ago

Changes look good, but 'foof' and 'foof_range' are not documented. Also about the Snippet calculation, is it equivalent to extracting 2 second epochs. pop_roi_activity was already extracting 2 second segments automatically (although it was also modifying the current dataset which is not necessarily ideal.

fpellegrini commented 1 year ago

Hi Arno, about the snippet analysis: No, it is not equivalent to the epoching. We discovered that the whole data length imposes a bias on the connectivity estimate. We therefore recommend using the same data length (i.e. snippet length, default = 1 minute) for all conditions that should be compared. As in, if for example, we have 1 minute data in one condition and 2 minutes in the other condition, it would not be advisable to calculate connectivity on them as it is, but rather cut both data streams into 1 min snippets, calculate connectivity for each snippet separately, and then take either the mean across the two snippets in condition 2 or feed them into some statistical analysis as two different samples. The two-seconds epoching would be used either way.