Dear brainstorm developer,
I’m trying to use the metrics dwpli and pli, but they don’t show up in the GUI. I opened the bst_connectivity.m file and noticed a comment saying they’re implemented but not available in the interface. I’m working on a study where I need to compare PLI and wPLI, so it would help a lot to know if this absence in the GUI is intentional. Also, is there a way to run these measures through the command line or with a script, even if they aren’t visible in the interface?
Thanks for your help and the huge job you are doing as always.
Margherita
P.S. I menaged to get such connectivity matrix with the following call:
temp = bst_process('CallProcess', 'process_plv1n', sFiles{1,s}, [ ], ...
'timewindow', [ ], ...
'dest_sensors', 'EEG', ...
'includebad', 1, ...
'plvmethod', 'pli', ... % Weighted phase lag index
'plvmeasure', 2, ... % Magnitude
'tfmeasure', 'hilbert', ... % Hilbert transform
'tfedit', struct(...
'Comment', 'Complex', ...
'TimeBands', [ ], ...
'Freqs', {{'delta', '2, 4', 'mean'; 'theta', '5, 7', 'mean'; 'alpha', '8, 12', 'mean'; 'beta', '15, 29', 'mean'; 'gamma1', '30, 59', 'mean'; 'spike', '1, 60', 'mean'}}, ...
'ClusterFuncTime', 'none', ...
'Measure', 'none', ...
'Output', 'all', ...
'SaveKernel', 0), ...
'timeres', 'full', ... % Full (requires epochs)
'avgwinlength', 1, ...
'avgwinoverlap', 50, ...
'outputmode', 'input'); % separately for each file
Just double-check if it is correct.