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

issues with stats - probably a function overloaded #5

Open
arnodelorme opened this issue May 9, 2022 · 1 comment
Open

issues with stats - probably a function overloaded #5

arnodelorme opened this issue May 9, 2022 · 1 comment

Comments

@arnodelorme
Copy link
Contributor

The weird thing is that line 440 of the current code does not contain call to that function. @MakotoMiyakoshi any idea.

pop_eegfiltnew() - performing 425 point bandpass filtering.
pop_eegfiltnew() - transition band width: 1 Hz
pop_eegfiltnew() - passband edge(s): [1 15] Hz
pop_eegfiltnew() - cutoff frequency(ies) (-6 dB): [0.5 15.5] Hz
pop_eegfiltnew() - filtering the data (zero-phase, non-causal)
firfilt(): |====================| 100%, ETE 00:00
pop_eegfiltnew() - performing 87 point bandpass filtering.
pop_eegfiltnew() - transition band width: 5 Hz
pop_eegfiltnew() - passband edge(s): [20 40] Hz
pop_eegfiltnew() - cutoff frequency(ies) (-6 dB): [17.5 42.5] Hz
pop_eegfiltnew() - filtering the data (zero-phase, non-causal)
firfilt(): |====================| 100%, ETE 00:00
3 boundaries found. 6.0 s data will be removed.
Error using stat_surrogate_pvals (line 77)
invalid value for tail: "upper", should be left, right, one or both

Error in pac_man (line 440)
        EEG.pac.uncorrected.MIpval(chIdx,1) = stat_surrogate_pvals(SurroMI, tmpMI, 'upper');

Error in pac_pop_main (line 148)
EEG = pac_man(EEG, options{:});
 
Error while evaluating Menu Callback.
@MakotoMiyakoshi
Copy link
Collaborator

I agree with you. This could be due to being overloaded.

SOLUTION: Please install SIFT1.52 because the current code has dependency on the function stat_surrogate_pvals().

The option 'upper' should work because anything other than 'both' is processed similarly as the 'one-tailed', so 'upper', 'lower', 'left', 'right' are all valid in the sense that it is not 'both'.

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

No branches or pull requests

2 participants