Skip to content

AFNI/NIfTI Server

Sections
Personal tools
You are here: Home » AFNI » Documentation

Doxygen Source Code Documentation


HistoryTrace.m File Reference

Go to the source code of this file.


Functions

 if (nargin==0)
end if (~isfield(Opt,'NoPath')|isempty(Opt.NoPath))
end if (~isfield(Opt,'AFNI_Format')|isempty(Opt.AFNI_Format))
end if (~isfield(Opt,'MaxTraceLevel')|isempty(Opt.MaxTraceLevel))
end if (~isfield(Opt,'PerSig')|isempty(Opt.PerSig))
 if (N_ST > 1)
 if (Opt.AFNI_Format)
end if (Opt.MaxTraceLevel > 0)
end for (i=strt:-1:stp)
remove this annoying tset message (some bug....)[err
 if (Nlines >=2)
end if (tmp)

Variables

 function [err, S]
useful for keeping a log The
trace string is formed as
such For example if script
MainScript calls at line function
F1 which at line calls F2
wich at line calls F3 which
at line calls HistoryTrace
then the trace string 
is
useful for keeping a log The
trace string is formed as
such For example if script
MainScript calls at line function
F1 which at line calls F2
wich at line calls F3 which
at line calls HistoryTrace
then the trace string F3 will
not be shown If MaxTraceLevel
is negative then counting
is done from the bottom of
the stack In the 
example
useful for keeping a log The
trace string is formed as
such For example if script
MainScript calls at line function
F1 which at line calls F2
wich at line calls F3 which
at line calls HistoryTrace
then the trace string F3 will
not be shown If MaxTraceLevel
is negative then counting
is done from the bottom of
the stack In the MainScript
would not show up Output 
Parameters
useful for keeping a log The
trace string is formed as
such For example if script
MainScript calls at line function
F1 which at line calls F2
wich at line calls F3 which
at line calls HistoryTrace
then the trace string F3 will
not be shown If MaxTraceLevel
is negative then counting
is done from the bottom of
the stack In the MainScript
would not show up Output function
call trace with the line numbers
in 
parenthesis
useful for keeping a log The
trace string is formed as
such For example if script
MainScript calls at line function
F1 which at line calls F2
wich at line calls F3 which
at line calls HistoryTrace
then the trace string F3 will
not be shown If MaxTraceLevel
is negative then counting
is done from the bottom of
the stack In the MainScript
would not show up Output function
call trace with the line numbers
in machine name and current
working directory and date
Key 
Terms
useful for keeping a log The
trace string is formed as
such For example if script
MainScript calls at line function
F1 which at line calls F2
wich at line calls F3 which
at line calls HistoryTrace
then the trace string F3 will
not be shown If MaxTraceLevel
is negative then counting
is done from the bottom of
the stack In the MainScript
would not show up Output function
call trace with the line numbers
in machine name and current
working directory and date
Key Bethesda Maryland Define
the function name for easy
referencing 
FuncName = 'HistoryTrace'
Debug Flag DBG = 1
initailize return variables err = 1
 Opt = []
end Opt NoPath = 1
end Opt AFNI_Format = 0
end Opt MaxTraceLevel = 3
end Opt PerSig = sprintf ('Ziad Saad LBC/NIMH/NIH')
 end [ST, I] = dbstack
 N_ST = length(ST)
 stk = sprintf('\n\t')
end strt = N_ST
 stp = max([(N_ST - Opt.MaxTraceLevel + 1) 2])
remove this annoying tset snl
remove this annoying tset Nlines = GetNextLine(smach, 2)
end smach = sprintf('Dunno')
end c = datevec(now)
 S
 return

Function Documentation

end for = strt:-1:stp  ) 
 

end if tmp   ) 
 

if Nlines >=  2  ) 
 

slices if Opt.  chunk_size,
 

if Opt.  AFNI_Format  ) 
 

if N_ST  ,
 

end if isfield(Opt,'PerSig')|isempty(Opt.PerSig)  ) 
 

end if isfield(Opt,'MaxTraceLevel')|isempty(Opt.MaxTraceLevel)  ) 
 

end if isfield(Opt,'AFNI_Format')|isempty(Opt.AFNI_Format)  ) 
 

end if isfield(Opt,'NoPath')|isempty(Opt.NoPath)  ) 
 

if nargin  = = 0  ) 
 

remove this annoying tset message some  bug....  ) 
 

Referenced by AlphaSim_error(), AW_error(), calc_covariance(), check_for_valid_inputs(), check_one_output_file(), check_piece(), clp_error_handler(), DC_error(), DCM_DumpVector(), DCM_Message(), error(), Error_Exit(), errorExit(), estPDF_error(), EX_error(), EX_read_opts(), fatal_error(), fatalError(), FDR_error(), FIM_error(), form_clusters(), FWHM_error(), get_inputs(), get_options(), get_user_inputs(), gifread_error(), initialize(), initialize_filters(), initialize_noise_model(), initialize_options(), initialize_program(), initialize_signal_model(), IR_error(), markov_array(), matrix_error(), matrix_file_read(), NLfit_error(), NP_error(), output_results(), parse_int(), PDF_error(), PDF_float_to_pdf(), PDF_short_to_pdf(), PLUGIN_init(), process_all_datasets(), PV2S_main(), RA_error(), read_dataset(), read_input_data(), read_one_time_series(), read_options(), read_piece(), read_table(), read_time_series(), RSF_error(), SC_error(), SC_read_opts(), SI_error(), UN_error(), verify_inputs(), verror(), WA_error(), warncontext(), warning(), write_bucket(), and write_piece().


Variable Documentation

end Opt AFNI_Format = 0
 

Definition at line 57 of file HistoryTrace.m.

end c = datevec(now)
 

Definition at line 92 of file HistoryTrace.m.

Debug Flag DBG = 1
 

Definition at line 49 of file HistoryTrace.m.

end[tmp, smach] = dbstack
 

Definition at line 81 of file HistoryTrace.m.

end err = 1
 

Definition at line 116 of file HistoryTrace.m.

useful for keeping a log The trace string is formed as such For example if script MainScript calls at line function F1 which at line calls F2 wich at line calls F3 which at line calls HistoryTrace then the trace string F3 will not be shown If MaxTraceLevel is negative then counting is done from the bottom of the stack In the example
 

Definition at line 1 of file HistoryTrace.m.

useful for keeping a log The trace string is formed as such For example if script MainScript calls at line function F1 which at line calls F2 wich at line calls F3 which at line calls HistoryTrace then the trace string F3 will not be shown If MaxTraceLevel is negative then counting is done from the bottom of the stack In the MainScript would not show up Output function call trace with the line numbers in machine name and current working directory and date Key Bethesda Maryland Define the function name for easy referencing FuncName = 'HistoryTrace'
 

Definition at line 46 of file HistoryTrace.m.

function[err, S]
 

Initial value:

 HistoryTrace ( Opt)
%
%   [err,S] = HistoryTrace (Opt)
%
%Purpose:
%   returns a signature/history sting

Definition at line 1 of file HistoryTrace.m.

useful for keeping a log The trace string is formed as such For example if script MainScript calls at line function F1 which at line calls F2 wich at line calls F3 which at line calls HistoryTrace then the trace string is
 

Definition at line 1 of file HistoryTrace.m.

Referenced by alloc_x_im(), allocate_memory(), calculate_results(), check_for_valid_inputs(), check_im_store_space(), check_output_files(), DC_main(), fill_array(), idisp_im_store_t(), init_delay(), init_indep_var_matrix(), init_regression_analysis(), initialize(), initialize_options(), initialize_stim_options(), main(), markov_array(), output_results(), permute_array(), PLUGIN_init(), ps_label(), read_input_data(), regression_analysis(), remove_zero_stimfns(), report_evaluation(), report_results(), Resample(), reset_options(), save_voxel(), show_options(), SUMA_AxisText(), SUMA_BestStandardView(), SUMA_cb_ColPlane_Delete(), SUMA_DrawMesh(), SUMA_RegisterSpecSO(), terminate_program(), WA_main(), write_many_ts(), write_results(), write_table(), and zzstro_().

end Opt MaxTraceLevel = 3
 

Definition at line 58 of file HistoryTrace.m.

N_ST = length(ST)
 

Definition at line 65 of file HistoryTrace.m.

remove this annoying tset Nlines = GetNextLine(smach, 2)
 

Definition at line 83 of file HistoryTrace.m.

end Opt NoPath = 1
 

Definition at line 56 of file HistoryTrace.m.

Opt = []
 

Definition at line 54 of file HistoryTrace.m.

useful for keeping a log The trace string is formed as such For example if script MainScript calls at line function F1 which at line calls F2 wich at line calls F3 which at line calls HistoryTrace then the trace string F3 will not be shown If MaxTraceLevel is negative then counting is done from the bottom of the stack In the MainScript would not show up Output Parameters
 

Definition at line 1 of file HistoryTrace.m.

useful for keeping a log The trace string is formed as such For example if script MainScript calls at line function F1 which at line calls F2 wich at line calls F3 which at line calls HistoryTrace then the trace string F3 will not be shown If MaxTraceLevel is negative then counting is done from the bottom of the stack In the MainScript would not show up Output function call trace with the line numbers in parenthesis
 

Definition at line 1 of file HistoryTrace.m.

end else OptHist PerSig = sprintf ('Ziad Saad LBC/NIMH/NIH')
 

Definition at line 420 of file WriteBrik.m.

return
 

Definition at line 117 of file HistoryTrace.m.

else S
 

Initial value:

 sprintf ('[%s@%s: %s %s:%s:%s]\n\t%s%s',...
                                 Opt.PerSig,smach,...
                                 date,...
                                 pad_strn(num2str(c(4)), '0', 2, 1),...
                                 pad_strn(num2str(c(5)), '0', 2, 1),...
                                 pad_strn(num2str(round(c(6))), '0', 2, 1),...
                                 pwd, ...
                                 stk)

Definition at line 106 of file HistoryTrace.m.

else smach = sprintf('Dunno')
 

Definition at line 89 of file plotsign2.m.

remove this annoying tset snl
 

Definition at line 83 of file HistoryTrace.m.

else stk = sprintf('\n\t')
 

Definition at line 79 of file HistoryTrace.m.

stp = max([(N_ST - Opt.MaxTraceLevel + 1) 2])
 

Definition at line 71 of file HistoryTrace.m.

else strt = N_ST
 

Definition at line 71 of file HistoryTrace.m.

useful for keeping a log The trace string is formed as such For example if script MainScript calls at line function F1 which at line calls F2 wich at line calls F3 which at line calls HistoryTrace then the trace string F3 will not be shown If MaxTraceLevel is negative then counting is done from the bottom of the stack In the MainScript would not show up Output function call trace with the line numbers in machine name and current working directory and date Key Terms
 

Definition at line 1 of file HistoryTrace.m.

 

Powered by Plone

This site conforms to the following standards: