Home > fmri > simulate > get_simulate_sinfo.m

get_simulate_sinfo

PURPOSE ^

SYNOPSIS ^

function s = get_prime_base_sinfo

DESCRIPTION ^

   sinfo = get_prime_base_sinfo;

 NOTE: For all subjects condition orders will be [1 2 3 4]

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function s = get_prime_base_sinfo
0002 %
0003 %   sinfo = get_prime_base_sinfo;
0004 %
0005 % NOTE: For all subjects condition orders will be [1 2 3 4]
0006 %
0007 
0008 % SCAN_OFFSET:  Specifies the number of images at the beginning of each run
0009 % that should be tossed out.  If event times are specified relative to slice
0010 % acquisition onset, then they must be adjusted by the number of volumes that
0011 % have been jettisoned. This is done in or1_model_protos.m
0012 %
0013 % The volumes are removed in the file conversion stage
0014 %
0015 
0016 global SCAN_OFFSET
0017 
0018 SCAN_OFFSET = 15; 
0019 
0020 s = struct('id','','nexams',[],'exam_nums', [], 'cond_order', [], 'series_mappings',[]);
0021 
0022 cond_names = {'Block1', 'Block2', 'Block3', 'Block4'};
0023 vols_per_cond = [191 191 191 191];
0024 
0025 nsub = 0;
0026 
0027 %
0028 %  Subject 1:
0029 %
0030 
0031 nsub = nsub+1;
0032 s(nsub).id = 'test';
0033 s(nsub).exam_nums = [];
0034 s(nsub).nexams = length(s(nsub).exam_nums);
0035 
0036 s(nsub).cond_order = [1 2 3 4]; % if directory 'epi', ifnot 1 2
0037 s(nsub).nvol = vols_per_cond(s(nsub).cond_order);
0038 
0039 % enter series mappings for each exam
0040 s(nsub).series_mappings{1} =  [{'002'}, {'coplanar'};
0041   {'003'} {'epi_12'}];
0042 s(nsub).series_mappings{2} = [{'002'}, {'coplanar2'};
0043   {'003'} {'epi_34'};
0044   {'004'} {'hires'}];
0045

Generated on Wed 20-Sep-2023 04:00:50 by m2html © 2003