Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding wPLI to the connectivity measures, for #67 #121

Merged
merged 2 commits into from
May 21, 2022

Conversation

juancamiload
Copy link
Collaborator

A new helper function "_multiply_conjugate_time" was added. This function is a slight modification of the pre-existing "_multiply_conjugate". "_multiply_conjugate_time" computes the product of a complex array and its conjugate, but (unlike "_multiply_conjugate") doesnt collapse the last dimmension (i.e., doesnt sum the results of the multiplication, preserving the product values for each time point - which are needed to compute the wPLI).

wPLI was added to the pre-existing "compute_sync" function.

A new function "_multiply_conjugate_time" was added. This function is a slight modification of the pre-existing "_multiply_conjugate". 
"_multiply_conjugate_time" computes the product of a complex array and its conjugate, but (unlike "_multiply_conjugate") doesnt collapse the last dimmension (i.e., doesnt sum the results of the multiplication, preserving the product values for each time point - which are needed to compute the wPLI).

wPLI was added to the pre-existing "compute_sync" function.
Adds the PLI to the pre-existing "compute_sync" function.
@deep-introspection deep-introspection merged commit 214e587 into ppsp-team:master May 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants