ensemble_globals_template.m Janata Lab, Center for Mind and Brain, UC Davis Copyright (c) 2010-2012 The Regents of the University of California All Rights Reserved. Original Version by Petr Janata Edited June 8, 2010 Stefan Tomic - created template from original file. Added 'county' to list of encrypted fields Copy this file to a file called "ensemble_globals.m" Then edit the path variables to point to locations relevant for your Ensemble environment
0001 % ensemble_globals_template.m 0002 % 0003 % Janata Lab, Center for Mind and Brain, UC Davis 0004 % 0005 % Copyright (c) 2010-2012 The Regents of the University of California 0006 % All Rights Reserved. 0007 % 0008 % Original Version by Petr Janata 0009 % Edited June 8, 2010 Stefan Tomic - created template from original file. Added 'county' to list of encrypted fields 0010 % 0011 % Copy this file to a file called "ensemble_globals.m" 0012 % Then edit the path variables to point to locations relevant for your Ensemble environment 0013 0014 0015 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 0016 %Fill in the following paths and variables 0017 0018 %the default hostname and database for Ensemble database connections 0019 %if host and/or database are omitted when calling mysql_make_conn, 0020 %the values will automatically be populated with these defaults. 0021 DEFAULT_HOST = ''; 0022 DEFAULT_DATABASE = ''; 0023 0024 %path to the root directory of all ensemble stimuli (e.g. /var/www/html/ensemble/stimuli) 0025 stimulus_root = ''; 0026 0027 %Path to the ipem analysis directory (which mimics the structure of stimulus_root. 0028 %You do not need this if you do not use our scripts that call the IPEM Toolbox 0029 stimulus_ipem_analysis_root = ''; 0030 0031 %Path to the Ensemble encryption key file (for encrypting sensitive subject data) 0032 paths.data_encryption_key = ''; 0033 0034 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 0035 paths.stimulus_root = stimulus_root; 0036 paths.stimulus_ipem_analysis_root = stimulus_ipem_analysis_root; 0037 0038 encrypted_fields.subject = {'name_last','name_first','name_middle','name_suffix','email','phone1','phone2',... 0039 'address1','address2','address3','city','county','state','postal_code','dob'};