Home > utils > physio > ri_templates.m

ri_templates

PURPOSE ^

template describing the 'ri' struct output from each physio reader

SYNOPSIS ^

This is a script file.

DESCRIPTION ^

 template describing the 'ri' struct output from each physio reader

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 % template describing the 'ri' struct output from each physio reader
0002 
0003 irun = 1;
0004 channel_name = 'physio_channel';
0005 
0006 % from read_keithley - all indices represent samples
0007 rk.ri(irun)
0008 rk.ri(irun).slice_onsets
0009 rk.ri(irun).pos_events
0010 rk.ri(irun).neg_events
0011 rk.ri(irun).key_events
0012 rk.ri(irun).cardiac
0013 rk.ri(irun).respir
0014 
0015 % from read_mate - vol onsets are in seconds, not samples
0016 rm.ri(irun)
0017 rm.ri(irun).vol_onsets
0018 rm.ri(irun).cardiac
0019 rm.ri(irun)
0020 
0021 % from read_biopac - all indices are in samples, can be converted using
0022 % .meta.srate or .meta.stime
0023 rb.ri(irun)
0024 rb.ri(irun).meta
0025 rb.ri(irun).meta.stime
0026 rb.ri(irun).meta.srate
0027 rb.ri(irun).meta.baseline_samps
0028 rb.ri(irun).signal
0029 rb.ri(irun).signal.(channel_name)
0030 rb.ri(irun).trigger.onsets
0031 rb.ri(irun).trigger.offsets

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