Home > stim_scripts > two_afc_globals_example.m

two_afc_globals_example

PURPOSE ^

params = two_afc_globals;

SYNOPSIS ^

function params = two_afc_globals

DESCRIPTION ^

 params = two_afc_globals;

 Copyright (c) 2006-13 The Regents of the University of California, Davis campus. All Rights Reserved.

 Author: Petr Janata
 Edits by JR

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function params = two_afc_globals
0002 % params = two_afc_globals;
0003 %
0004 % Copyright (c) 2006-13 The Regents of the University of California, Davis campus. All Rights Reserved.
0005 %
0006 % Author: Petr Janata
0007 % Edits by JR
0008 
0009 params.version = 'two_afc_globals';
0010 params.debug = 3;
0011 
0012 params.mysql.host = 'localhost';      % replace with database host name
0013 % Database name should match an entry in the mysql_login.m file.
0014 params.mysql.database = 'ensemble';   % replace with database name
0015 params.mysql.conn_id = 3;
0016 
0017 params.mysql.login_type = 'subject';
0018 
0019 params.mysql = mysql_login(params.mysql);  % login to the database
0020 
0021 % list of relevant stimulus attributes in the database table 'trial_x_attribute'
0022 % used to look up the trials to include in this experiment
0023 params.attrib_name = '2afc_example';
0024 
0025 % boolean: determine whether to show all trials or just a subset
0026 % Current two_afc_select.m only supports value of true for this parameter
0027 params.include_all_trials = 1;
0028 
0029 % variables for analysis and logging
0030 params.ensemble.expname = '2afc_example';      % experiment name as defined in the QEI
0031 params.resptbl_name = 'response_2afc_example'; % response table name defined in QEI

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