|
Doxygen Source Code Documentation
ContrastTest.m File Reference
Go to the source code of this file.
|
Functions |
| for (iT=1:1:N_tasks) |
| for (j=1:1:N_basis) |
for each there | are (polort+1) paramters in the baseline model mtrx |
| fprintf (1, '\n\nYour contrast vectors for-glt options are:\n') |
| for (k=1:1:N_tasks) |
if | El (i).order(j) = [] |
if | for (m=1:1:N_basis) |
if | for (p=1:1:Task(k).BasisOpt_struct(m).maxlag-Task(k).BasisOpt_struct(m).minlag+1)%mtrx(i |
j | sign () |
| mtrx (i, p+(m-1)*(Task(k).BasisOpt_struct(m).maxlag-Task(k).BasisOpt_struct(m).minlag+1)...+(k-1)*(Task(k).BasisOpt_struct(m).maxlag-Task(k).BasisOpt_struct(m).minlag+1)*N_basis...+(polort+1)*N_runs) |
Don t ask me how I worked
this out It is so tedious
and nasty to housekeep the
indices Don t even remember
how I figured it out now end
end end end end | contrfile (i).name |
| fprintf (1,'No.%i contrast vector= ', i) |
| for (n=1:1:length) |
| fprintf (1, '%g', mtrx(i, n)) |
| fprintf (fid, '%g ', mtrx(i, n)) |
end | fprintf (1, '\n') |
| fclose (fid) |
| fprintf (1, '\nThe vector for No.%i contrast is stored in file%s.\n\n', i, contrfile(i).name) |
Variables |
| function [err, contrfile] |
Bethesda Maryland Define the
function name for easy referencing | FuncName = 'ContrastTest' |
Debug Flag | DBG = 1 |
initailize return variables | err = 1 |
Create a matrix so that dDeconvolve
uses for regressor test | length = (polort+1)*N_runs+N_base |
end end | mtrx = zeros(N_contr, (polort+1)*N_runs+N_basis*N_tasks) |
for each | run = input('at (TR): ') |
| fid = fopen(contrfile(i).name, 'w') |
| return |
Function Documentation
for each there are |
( |
polort+ |
1 |
) |
|
|
if for |
( |
p |
= 1:1:Task(k).BasisOpt_struct(m).maxlag - Task(k).BasisOpt_struct(m).minlag + 1 |
) |
|
|
fprintf |
( |
1 |
, |
|
|
'\nThe vector for No.%i contrast is stored in file%s.\n\n' |
, |
|
|
i |
, |
|
|
contrfile(i). |
name |
|
) |
|
|
fprintf |
( |
fid |
, |
|
|
'%g ' |
, |
|
|
mtrx(i, n) |
|
|
) |
|
|
fprintf |
( |
1 |
, |
|
|
'%g' |
, |
|
|
mtrx(i, n) |
|
|
) |
|
|
fprintf |
( |
1 |
, |
|
|
'No.%i contrast |
vector = ' , |
|
|
i |
|
|
) |
|
|
mtrx |
( |
i |
, |
|
|
p+(m-1)*(Task(k).BasisOpt_struct(m).maxlag-Task(k).BasisOpt_struct(m).minlag+1)...+(k-1)*(Task(k).BasisOpt_struct(m).maxlag-Task(k).BasisOpt_struct(m).minlag+1)*N_basis...+(polort+1)* |
N_runs |
|
) |
|
|
j sign |
( |
|
) |
[static, virtual] |
|
Variable Documentation
|
Definition at line 597 of file IndiAna.m.
Referenced by conv_model(), SUMA_BrainVoyager_Read_vmr(), SUMA_Build_Cluster_From_Node(), SUMA_ConvexHullSurface(), SUMA_Convexity_Engine(), SUMA_DrawMesh(), SUMA_EquateSurfaceSize(), SUMA_FormNeighbOffset(), SUMA_Pattie_Volume(), SUMA_ProjectSurfaceToSphere(), SUMA_SphereQuality(), and SUMA_Surface_Curvature(). |
Bethesda Maryland Define the function name for easy referencing FuncName = 'ContrastTest' |
|
|
Definition at line 45 of file ContrastTest.m.
Referenced by alloc_ints(), alloc_vals_list(), arg_parse(), CacheLength(), computeVM(), COND_CopyText(), copy_variable(), countBytes(), DCM_ComputeExportLength(), DCM_ImportStream(), DCM_ListToString(), disp_numeric_data(), do_p1_comment(), emit_dac(), emit_dht(), EncodeCDC(), EncodeYDC(), entrypt(), exportData(), exportEncapsulatedPixels(), exportFixedFields(), exportPixels(), ExtractClassifiedVolume(), fvec_magnitude(), ge_header(), get_dht(), get_dqt(), get_dri(), get_interesting_appn(), get_sof(), get_sos(), glutBitmapLength(), glutStrokeLength(), hbAssignCodes(), hbCreateDecodeTables(), lengtype(), magnitude_f(), main(), make_data_reader(), match_table(), mri_read(), mri_read3D_analyze75(), mri_read_3A(), mri_read_3D(), mri_read_3D_delay(), mri_read_analyze75(), mri_read_ppm(), mri_read_ppm3(), nc_get_varm_double(), nc_get_varm_float(), nc_get_varm_int(), nc_get_varm_long(), nc_get_varm_schar(), nc_get_varm_short(), nc_get_varm_text(), nc_get_varm_uchar(), nc_put_varm_double(), nc_put_varm_float(), nc_put_varm_int(), nc_put_varm_long(), nc_put_varm_schar(), nc_put_varm_short(), nc_put_varm_text(), nc_put_varm_uchar(), ncdimdef(), ncdiminq(), p1gets(), parse_args(), process_COM(), process_SOFn(), put_one_arg(), read_ge_header(), read_ge_image(), ReadInputFileNames(), realloc_ints(), realloc_vals_list(), REORDER_main(), REORDER_parseMap(), save_marker(), SeparateLine(), setimpl(), settype(), skip_variable(), swapATGroupElement(), swapInPlace(), take_file_name(), THD_open_analyze(), THD_open_ctfmri(), THD_open_ctfsam(), UpdatePath(), vpClassifyScalars(), vprint(), vpScanlineNormals(), vpVolumeNormals(), write_generic_extension(), and writeFile(). |
|