function roi_deconvolve
% ---------------------------------
% The updated, shinier, newer, roi_deconvolve 2.0, good for
% SPM99, SPM2, deconvolution, event-related, block-related,
% you name it, we've got it.
%
% ----------------------------------
% Written by Jeff Cooper, Aug/Sep 2003
% Greatly expanding on v1.0, Jeff Cooper Oct 2002
% which was itself built on roi_extractYmad, by Kalina
% Christoff.
% Most implementation details taken from 3DDeconvolve, by B.
% Douglas Ward.



% Defaults
% ------------------------
IRF_LENGTH = 32;    % length of IRF to estimate for each condition (secs)
CON_INT = 95;        % desired confidence interval on IRFs, in % units
                    % 90% is also a popular choice


                    
% ensure spm_defaults are in workspace
spm_defaults;

% Run interface
% ---------------------------------------
roi_deconvolve_interface('init', IRF_LENGTH, CON_INT);


