Skip to content

Commit

Permalink
Bugfix: Default measure for coherence functions
Browse files Browse the repository at this point in the history
  • Loading branch information
ftadel committed Feb 23, 2020
1 parent a0181b9 commit 04f81f0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion toolbox/process/functions/process_cohere1.m
Expand Up @@ -64,7 +64,7 @@
'<FONT color="#777777"> IC = imag(C)^2 / (1-real(C)^2) </FONT>']; ...
'mscohere', 'icohere2019','lcohere2019', 'icohere'};
sProcess.options.cohmeasure.Type = 'radio_label';
sProcess.options.cohmeasure.Value = 'Measure:';
sProcess.options.cohmeasure.Value = 'mscohere';
% === Overlap
sProcess.options.overlap.Comment = 'Overlap for PSD estimation:' ;
sProcess.options.overlap.Type = 'value';
Expand Down
4 changes: 2 additions & 2 deletions toolbox/process/functions/process_cohere1n.m
Expand Up @@ -62,9 +62,9 @@
'LC = |imag(C)|/sqrt(1-real(C)^2)'], ...
['<FONT color="#777777"> Imaginary Coherence (before 2019)</FONT><BR>' ...
'<FONT color="#777777"> IC = imag(C)^2 / (1-real(C)^2) </FONT>']; ...
'mscohere', 'icohere2019','lcohere2019', 'icohere'};
'mscohere', 'icohere2019', 'lcohere2019', 'icohere'};
sProcess.options.cohmeasure.Type = 'radio_label';
sProcess.options.cohmeasure.Value = 'Measure:';
sProcess.options.cohmeasure.Value = 'mscohere';
% === Overlap
sProcess.options.overlap.Comment = 'Overlap for PSD estimation:';
sProcess.options.overlap.Type = 'value';
Expand Down
2 changes: 1 addition & 1 deletion toolbox/process/functions/process_cohere2.m
Expand Up @@ -63,7 +63,7 @@
'<FONT color="#777777"> IC = imag(C)^2 / (1-real(C)^2) </FONT>']; ...
'mscohere', 'icohere2019','lcohere2019', 'icohere'};
sProcess.options.cohmeasure.Type = 'radio_label';
sProcess.options.cohmeasure.Value = 'Measure:';
sProcess.options.cohmeasure.Value = 'mscohere';
% === Overlap
sProcess.options.overlap.Comment = 'Overlap for PSD estimation:' ;
sProcess.options.overlap.Type = 'value';
Expand Down

1 comment on commit 04f81f0

@ftadel
Copy link
Member Author

@ftadel ftadel commented on 04f81f0 Feb 23, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@HosseinShahabi The field "Value" must contain the default value for the option

Please sign in to comment.