Sha256: 722f5f2cbdd4685465e161eb2349e77804567d858ef6776d3fc7d10d2190576d

Contents?: true

Size: 899 Bytes

Versions: 10

Compression:

Stored size: 899 Bytes

Contents

function [] = JohnsonMerit220Visit1Preproc(studypath, images, image_boldreps, job_mfile)
% [] = merit_preproc Calls and runs Merit220 preproc job.
% merit_preproc('/private/tmp/mrt00015_orig/', ...
% {'amrt00015_task1.nii' 'amrt00015_task2.nii' 'amrt00015_rest.nii'}, ...
% {164 164 164}, ...
% '/private/tmp/mrt00015_orig/mrt00015_preproc_job.m') 
% 

% List of open inputs
% Realign: Estimate: Session - cfg_files
% Realign: Estimate: Session - cfg_files
% Realign: Estimate: Session - cfg_files

spm('defaults', 'FMRI');

nrun = 1; % enter the number of runs here
jobfile = {job_mfile};
jobs = repmat(jobfile, 1, nrun);
inputs = cell(3, nrun);

for crun = 1:nrun
    for index = 1:length(images)
			inputs{index, crun} = CreateFunctionalVolumeStruct(studypath, images{index}, image_boldreps{index}); % Realign: Estimate: Session - cfg_files
    end
end
spm_jobman('serial', jobs, '', inputs{:});

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
rpipe-0.1.7 lib/custom_methods/JohnsonMerit220Visit1Preproc.m
rpipe-0.1.6 lib/custom_methods/JohnsonMerit220Visit1Preproc.m
rpipe-0.1.4 lib/custom_methods/JohnsonMerit220Visit1Preproc.m
rpipe-0.1.3 lib/custom_methods/JohnsonMerit220Visit1Preproc.m
rpipe-0.1.2 lib/custom_methods/JohnsonMerit220Visit1Preproc.m
rpipe-0.1.1 lib/custom_methods/JohnsonMerit220Visit1Preproc.m
rpipe-0.1.0 lib/custom_methods/JohnsonMerit220Visit1Preproc.m
rpipe-0.0.3 lib/custom_methods/JohnsonMerit220Visit1Preproc.m
rpipe-0.0.2 lib/custom_methods/JohnsonMerit220Visit1Preproc.m
rpipe-0.0.1 lib/custom_methods/JohnsonMerit220Visit1Preproc.m