Closed christian-oreilly closed 4 years ago
Hi @christian-oreilly, thanks for the comment. After looking into it, I implemented the signed version of the PLI. So to obtain the unsigned version, you would just have to take the absolute value of this quantity. I should probably make this more explicit in the documentation to prevent any further confusion.
PLI is defined as PLI = |E[sign(Im(Sxy))]| and is, therefore, a positive value. And it case there could be any confusion on this, it is explicitly said in the Stam paper "The PLI ranges between 0 and 1". However, trying your toolbox I obtained negative values in the returned array from Multitaper().phase_lag_index().