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

cfg.tau number elements zero #17

Open
GowthamBio opened this issue Mar 2, 2016 · 3 comments
Open

cfg.tau number elements zero #17

GowthamBio opened this issue Mar 2, 2016 · 3 comments

Comments

@GowthamBio
Copy link

I am getting following error when I trying run the code for my

Index exceeds matrix dimensions.

Error in transferentropy (line 377)
currentTau = round(cfg.tau(1)*data.TEprepare.maxact)

Error in TEsurrogatestats (line 523)
[TEresult] = transferentropy(cfg,data);

Error in TEfindDelay (line 59)
TGA_results{uu}=TEsurrogatestats(cfgTESS,data);

My data has rms values of EEG in one row and NIRS measurements in the other

@pwollstadt
Copy link
Collaborator

Hi @GowthamBio,
what did you specify for cfg.tau in your analysis?

@GowthamBio
Copy link
Author

I assigned values 0.2 to 0.5 for cfg.tau. The error is "Attempted to access cfg.tau(1); index out of bounds because numel(cfg.tau)=0.". Also it is not displaying any values for optimal tau, and dimension for the data set. Is this because the range specified for cfg.tau incompatible for my dataset?

@mwibral
Copy link
Collaborator

mwibral commented Mar 3, 2016

Hi,

it's possible, that there is a bug when using cfg. tau instead of using
a range for the tau values and then a number of steps in that range -
could you check whether the functions work for you with range and steps
as described in the manual.

Thanks,
Michael

On 03.03.2016 09:56, GowthamBio wrote:

I assigned values 0.2 to 0.5 for cfg.tau. The error is "Attempted to
access cfg.tau(1); index out of bounds because numel(cfg.tau)=0.".
Also it is not displaying any values for optimal tau, and dimension
for the data set. Is this because the range specified for cfg.tau
incompatible for my dataset?


Reply to this email directly or view it on GitHub
#17 (comment).

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

3 participants