Skip to content

AFNI/NIfTI Server

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

Doxygen Source Code Documentation


Test_m3dReorder.m

Go to the documentation of this file.
00001 %set the filename identifier
00002 Identifiers = {'AAzst1avir.N02.*.HEAD', 'AAzst1avir.N05.*.HEAD'}; %Modify here
00003 [err, ErrMessage, List] = zglobb (Identifiers);
00004 
00005 %loop across all Bricks found
00006 Nel = length(List);
00007 for (i=1:1:Nel),
00008         Input = List(i).name; 
00009         fprintf(1,'\nNow processing: %s ...', Input);
00010         [ans, I_Prefix, View] = PrefixStatus(Input);
00011         %set the new prefix
00012         Prefix = sprintf('%s_reord', I_Prefix); %Modify here
00013         %set up for the function m3dReorder
00014         Mapfile = 'map.1D';%Modify here
00015         Opt.Verbose = 1;%Modify here
00016         Opt.Detrend = 2;%Modify here
00017         Opt.Dup = 'Col';%Modify here
00018         Opt.NoCheck = 0;
00019         [err] = m3dReorder (Input, Prefix, Mapfile, Opt);
00020 end
 

Powered by Plone

This site conforms to the following standards: