Home > utils > physio > proc_physio_data.m

proc_physio_data

PURPOSE ^

[physio] = proc_physio_data(flist,params,physio);

SYNOPSIS ^

function [physio] = proc_physio_data(flist,p)

DESCRIPTION ^

 [physio] = proc_physio_data(flist,params,physio);

 See also init_physmon_params.m for specific parameters and default values
 associated with a particular physiological data acquisition system

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function [physio] = proc_physio_data(flist,p)
0002 % [physio] = proc_physio_data(flist,params,physio);
0003 %
0004 % See also init_physmon_params.m for specific parameters and default values
0005 % associated with a particular physiological data acquisition system
0006 %
0007 
0008 % 07/20/06 Petr Janata
0009 
0010 if ~isfield(p,'source')
0011   error('The source of the data must be specified\n');
0012 end
0013 
0014 switch p.source
0015   case 'keithley'
0016     physio = read_keithley(flist,p);
0017     
0018   case 'mate'
0019     physio = read_mate(flist,p);
0020     
0021   case 'biopac'
0022     physio = read_biopac(flist,p);
0023     
0024   otherwise
0025     fprintf('Unknown source of physio data: %s\n', p.source);
0026 end

Generated on Sat 24-Aug-2019 04:00:39 by m2html © 2003