Home > . > prt_defaults.m

prt_defaults

PURPOSE ^

Sets the defaults which are used by the Pattern Recognition for

SYNOPSIS ^

function prt_defaults

DESCRIPTION ^

 Sets the defaults which are used by the Pattern Recognition for
 Neuroimaging Toolbox, aka. PRoNTo.

 FORMAT prt_defaults
_______________________________________________________________________

 This file can be customised to any the site/person own setup.
 Individual users can make copies which can be stored on their own
 matlab path. Make sure your 'prt_defaults' is the first one found in the
 path. See matlab documentation for details on setting path.

 Care must be taken when modifying this file!

 The structure and content of this file are largely inspired by SPM:
 http://www.fil.ion.ucl.ac.uk/spm
_______________________________________________________________________
 Copyright (C) 2011 Machine Learning & Neuroimaging Laboratory

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function prt_defaults
0002 % Sets the defaults which are used by the Pattern Recognition for
0003 % Neuroimaging Toolbox, aka. PRoNTo.
0004 %
0005 % FORMAT prt_defaults
0006 %_______________________________________________________________________
0007 %
0008 % This file can be customised to any the site/person own setup.
0009 % Individual users can make copies which can be stored on their own
0010 % matlab path. Make sure your 'prt_defaults' is the first one found in the
0011 % path. See matlab documentation for details on setting path.
0012 %
0013 % Care must be taken when modifying this file!
0014 %
0015 % The structure and content of this file are largely inspired by SPM:
0016 % http://www.fil.ion.ucl.ac.uk/spm
0017 %_______________________________________________________________________
0018 % Copyright (C) 2011 Machine Learning & Neuroimaging Laboratory
0019 
0020 % Written by Christophe Phillips
0021 % $Id: prt_defaults.m 527 2012-05-16 12:59:08Z schrouff $
0022 
0023 %%
0024 global prt_def
0025 
0026 % Global defaults
0027 % prt_loc = which('prt_batch');
0028 % prt_def.global.install_dir = fileparts(prt_loc);
0029 prt_def.global.install_dir = prt('dir');
0030 
0031 % Default colors of the different elements
0032 %-----------------------------------------------
0033 % prt_def.color.bg1=[0 0.8 1];
0034 % prt_def.color.bg2=[0.9,0.6,0.3];
0035 % prt_def.color.fr=[1,0.5,0.7];
0036 % prt_def.color.high=[0.2,0.2,0.8];
0037 
0038 prt_def.color.bg1  = [0.83,0.83,0.83];
0039 prt_def.color.bg2  = [0.88,0.88,0.88];
0040 prt_def.color.fr   = [0.92,0.92,0.92];
0041 prt_def.color.high = [0.8 0 0];
0042 
0043 % Parameters for the data and design
0044 %-----------------------------------------------
0045 prt_def.datad.hrfd = 0; % HRF delay in seconds
0046 prt_def.datad.hrfw = 0; % HRF FWHM, used to compute the overlap between conditions
0047 
0048 prt_def.prep.default_mask  = [prt_def.global.install_dir,...
0049                             '/masks/SPM_mask_noeyes.hdr'];% default mask
0050 
0051 % Preprocessing defaults
0052 %------------------------------------------------
0053 % memory limit for kernel/file arrays construction
0054 prt_def.fs.mem_limit = 64*1024*1024;  % bytes of memory to use
0055 prt_def.fs.writeraw  = 0;              % flag to write the data detrended (default) or raw (to set to 1).
0056 
0057 % Design specification default
0058 prt_def.dspec.use3 = [1 2];
0059 
0060 % Specify model: Parameters of the different machines
0061 %--------------------------------------------------
0062 prt_def.model.svmargs    = '-s 0 -t 4 -c 1';
0063 prt_def.model.gpcargs    = '-l erf -h';%-h
0064 prt_def.model.gpclapargs = '-h'; %'-h';
0065 prt_def.model.gprargs    = '-l gauss -h'; % -h
0066 prt_def.model.krrargs    = 1;
0067 prt_def.model.rtargs     = 601;
0068 
0069 return

Generated on Sun 20-May-2012 13:24:48 by m2html © 2005