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

run ptfce in matlab without .mat file? #1

Closed
johnaeanderson opened this issue Feb 2, 2019 · 1 comment
Closed

run ptfce in matlab without .mat file? #1

johnaeanderson opened this issue Feb 2, 2019 · 1 comment

Comments

@johnaeanderson
Copy link

Hi Tamás,

First off, thanks for creating a wonderful application! I've used the R code & found it works well. The only issue I have is the length of time pTFCE takes to execute in R. Is there a way to speed it up? Alternatively, if we could simply supply a Z-stat image & mask to MATLAB, instead of the .mat file this might also help speed things up.

Thanks again,

John

@spisakt
Copy link
Owner

spisakt commented Feb 6, 2019

Hi John, thanks for your interest!

Good news: we are working on the C++ implementation which will be super-fast! Feel free to follow me here, or on Twitter (@spisaktamas) to get notified about possible releases in the upcoming months.

It is possible to use the SPM Toolbox without the SPM.mat file. Have a look at the pTFCE.m source file. The pTFCE Matlab function works pretty similar to the R-function, except that it cannot estimate image smoothness (uses the values from SPM), so you have to compute the Rd and V values externally, e.g. with the R-package or with FSL's smoothest (see this link). However, I don't think that the Matlab code would be much faster than the R-implementation.

I would be glad if you could provide me some running times (together with the number of voxels in your mask), since recently I was notified about speed-issues in some cases.

Cheers,
Tamas

@spisakt spisakt closed this as completed Mar 28, 2019
@spisakt spisakt pinned this issue Mar 28, 2019
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