ses_hdr_offsets.m Declares a set of global constants for reading the fields of the EGIS session header vectors returned by function rd_ses_hdr_vecs. Note: Because of name conflicts this file should not be used with the non-vectorized script rd_ses_hdr. See also:rd_ses_hdr_vecs, wt_ses_hdr_vecs.
0001 %ses_hdr_offsets.m 0002 % 0003 %Declares a set of global constants for reading the fields of the 0004 %EGIS session header vectors returned by function rd_ses_hdr_vecs. 0005 % 0006 %Note: Because of name conflicts this file should not be used with 0007 %the non-vectorized script rd_ses_hdr. 0008 % 0009 %See also:rd_ses_hdr_vecs, wt_ses_hdr_vecs. 0010 0011 %Modification History: 0012 % Original Version by Brian Rakitin, 3/2/95. 0013 % 06/05/95 PJ Equated NObs with NTrials 0014 0015 %Session File Description from "EGIS Hdr Conv 1.02" 0016 BytOrd=1; 0017 HdrVer=2; 0018 LHeader=3; 0019 LData=4; 0020 0021 %Session File Session Information 0022 RunDate=5; 0023 RunDateMo=5; 0024 RunDateDay=6; 0025 RunDateYr=7; 0026 RunTime=8; 0027 RunTimeHr=8; 0028 RunTimeMin=9; 0029 RunTimeSec=10; 0030 SubjID=11; 0031 Handed=12; 0032 Sex=13; 0033 Age=14; 0034 ExperID=15; 0035 EdVer=16; 0036 CalFlag=17; 0037 0038 %Session File Data Description 0039 NCells=18; 0040 NChan=19; 0041 LComment=20; 0042 LText=21; 0043 LPad=22; 0044 BrdGain=23; 0045 LCellHdr=24; 0046 0047 %Cell Header Offsets 0048 CellID=1; 0049 NTrials=2; 0050 NObs=2; 0051 NPoints=3; 0052 NSamps=3; 0053 NSamp=3; 0054 SampRate=4; 0055 LSpec=5; 0056 TSpecs=6;