ave_hdr_offsets.m Declares a set of global constants for writing the fields of the EGIS average header vectors. Based on ses_hdr_offsets.m See also:rd_ses_hdr_vecs, wt_ses_hdr_vecs, wt_ave_hdr_v.
0001 %ave_hdr_offsets.m 0002 % 0003 %Declares a set of global constants for writing the fields of the 0004 %EGIS average header vectors. 0005 % 0006 %Based on ses_hdr_offsets.m 0007 % 0008 %See also:rd_ses_hdr_vecs, wt_ses_hdr_vecs, wt_ave_hdr_v. 0009 0010 %Modification History: 0011 % 06/06/95 PJ Created file 0012 0013 % The fields given below reference positions in the fhdr information vector 0014 0015 %Average File Description from "EGIS Hdr Conv 1.02" 0016 BytOrd=1; 0017 HdrVer=2; 0018 LHeader=3; 0019 LData=4; 0020 0021 %Average File Session Information 0022 % Fields 5 through 10 are used for storing run date and run time information 0023 % in session files. They are not used in average files 0024 LastDone=11; % Number of subjects in average file 0025 ScaleBins=12; 0026 ScaleCal=13; 0027 BaseDur=14; 0028 % Fields 15 through 17 are empty in average files 0029 0030 %Average File Data Description 0031 NCells=18; 0032 NChan=19; 0033 LComment=20; 0034 LText=21; 0035 LPad=22; 0036 BrdGain=23; 0037 LCellHdr=24; 0038 0039 % The fields given below reference positions in the chdr information matrix 0040 0041 %Average Cell Offsets 0042 CellID=1; 0043 NSubjects=2; 0044 NObs=2; 0045 NPoints=3; 0046 NSamps=3; 0047 NSamp=3; 0048 SampRate=4; 0049 LSpec=5; 0050 0051 %Subject specifics array 0052 NAvg=6; % number of trials in cell average 0053 RunDate_Ave=7; 0054 RunDateMo_Ave=7; 0055 RunDateDay_Ave=8; 0056 RunDateYr_Ave=9; 0057 RunTime_Ave=10; 0058 RunTimeHr_Ave=10; 0059 RunTimeMin_Ave=11; 0060 RunTimeSec_Ave=12; 0061 SubjID_Ave=13; 0062 Handed_Ave=14; 0063 Sex_Ave=15; 0064 Age_Ave=16; 0065 ExperID_Ave=17; 0066 EdVer_Ave=18; 0067 CalFlag_Ave=19; 0068