Doxygen Source Code Documentation
WaverBasisOption.m File Reference
Go to the source code of this file.
|
Functions |
| if (strcmp(lower(BasisFunc),'tent')) |
| if (~isfield(BasisOpt,'tSpan')|isempty(BasisOpt.tSpan)) |
| fprintf (2,'Error%s:tSpan must be set with tent option.\n',...FuncName) |
end | for (i=1:1:N_Basis) |
end | Bstrct (i).BareOpt |
| elseif (strcmp(lower(BasisFunc),'gam')|strcmp(lower(BasisFunc),'mgh')) |
| if (N_Basis~=1) |
| fprintf (2,'Error%s:Only 1 basis for GAM or MGH\n', FuncName) |
end | Bstrct (1).BareOpt |
| if (~isfield(BasisOpt,'minlag')|isempty(BasisOpt.minlag)) BasisOpt.minlag=0 |
end | if (~isfield(BasisOpt,'maxlag')|isempty(BasisOpt.maxlag)) BasisOpt.maxlag=0 |
else | if (strcmp(lower(BasisFunc),'spm1')|strcmp(lower(BasisFunc),'spm2')) |
else | fprintf (2,'Error%s:Bad Basis%s\n', FuncName, BasisFunc) |
Variables |
| function [err, Bstrct] |
Bethesda Maryland Define the
function name for easy referencing | FuncName = 'WaverBasisOption' |
Debug Flag | DBG = 1 |
initailize return variables | err = 1 |
| Bstrct = [] |
| return |
Function Documentation
end for |
( |
i |
= 1:1:N_Basis |
) |
|
|
fprintf |
( |
2 |
, |
|
|
'Error%s:tSpan must be set with tent option.\n' |
, |
|
|
|
FuncName |
|
) |
|
|
end if |
( |
~ |
isfield(BasisOpt,'maxlag')|isempty(BasisOpt.maxlag) |
) |
[pure virtual] |
|
if |
( |
~ |
isfield(BasisOpt,'minlag')|isempty(BasisOpt.minlag) |
) |
[pure virtual] |
|
if |
( |
~ |
isfield(BasisOpt,'tSpan')|isempty(BasisOpt.tSpan) |
) |
|
|
Variable Documentation
Bethesda Maryland Define the function name for easy referencing FuncName = 'WaverBasisOption' |
|
|
Initial value: WaverBasisOption (BasisFunc, N_Basis, BasisOpt)
%
% [err,] = WaverBasisOption ()
%
%Purpose:
%
%
%
%Input Parameters:
%
%
%
%Output Parameters:
% err : 0 No Problem
% : 1 Problems
%
%
%
%Key Terms:
%
%More Info :
%
%
%
%
% Author : Ziad Saad
% Date : Fri Jul 18 14:35:24 EDT 2003
% SSCC/NIMH/ National Institutes of Health
Definition at line 1 of file WaverBasisOption.m. |