Remi-Gau / bids-app_rsHRF

Resting state HRF estimation from BOLD-fMRI signal
http://bids-apps.neuroimaging.io/rsHRF/
MIT License
1 stars 0 forks source link

Failing demos #1

Open Remi-Gau opened 3 years ago

Remi-Gau commented 3 years ago

Failed demos

Documented in this issue: https://github.com/Remi-Gau/bids-app_rsHRF/issues/1

Using Matlab 2017a on Ubuntu 18.04

The following demos do not run:

No public property RegularizationKernel exists for class idoptions.impulseest.

Error in rsHRF_demo_impulseest (line 15)
options.RegularizationKernel = 'none'; %Regularizing kernel, used for regularized estimates
of impulse response for all input-output channels. Regularization reduces variance of
estimated model coefficients and produces a smoother response by trading variance for bias
Error using figure
There is no WindowState property on the Figure class.

Error in rsHRF_demo_voxel_calcium (line 111)
figure('WindowState','maximized');
Undefined function or variable 'wgr_get_parameters'.

Error in rsHRF_demo_LFP_IOS>@(x)wgr_get_parameters(hrf_Blind(:,x),dt)

Error in rsHRF_demo_LFP_IOS (line 97)
        PARA = arrayfun(@(x) wgr_get_parameters(hrf_Blind(:,x),dt),1:size(hrf_Blind,2),
        'UniformOutput', false);
Undefined function or variable 'wgr_get_parameters'.

Error in rsHRF_demo_LFP_IOS>@(x)wgr_get_parameters(hrf_Blind(:,x),dt)

Error in rsHRF_demo_LFP_IOS (line 97)
        PARA = arrayfun(@(x) wgr_get_parameters(hrf_Blind(:,x),dt),1:size(hrf_Blind,2), 'UniformOutput',
        false);
NigelCol commented 3 years ago

Hi Remi, thank you very much for the extensive review and very well documented issues of the rsHRF toolbox (matlab and python version).

Response to issues documented in #1.

The errors mentioned should now be resolved. Some errors were related to not backtesting the demos with previous matlab versions. The demos should now work for versions MATLAB 2016+.

Note that a license for the System Identification Toolbox is required in order to run some of the demos.

The fix for the issues are as following :