function [fnMeasMain, fnMeasBkgr, vCurVals] = idReadCorElecBeamMeasData(idName, gap, corName)

if strncmp(idName, 'U20', 3)
	if strcmp(idName, 'U20_PROXIMA1')
        vCurVals = [-6, -4, -2, 0, 2, 4, 6];
        if strcmp(corName, 'CHE')
            fnMeasMain = cellstr(['U20_gap30_ofm350_ch1_m6_2006-12-20_11-20-43'; 
                                  'U20_gap30_ofm350_ch1_m4_2006-12-20_11-20-16'; 
                                  'U20_gap30_ofm350_ch1_m2_2006-12-20_11-19-56'; 
                                  'U20_gap30_ofm350_ch1_0_2006-12-20_11-17-27 '; 
                                  'U20_gap30_ofm350_ch1_2_2006-12-20_11-18-19 ';
                                  'U20_gap30_ofm350_ch1_4_2006-12-20_11-19-01 ';
                                  'U20_gap30_ofm350_ch1_6_2006-12-20_11-19-30 ']);
            fnMeasBkgr = cellstr(['U20_gap30_ofm350_ch1_0_2006-12-20_11-17-27'; 
                                  'U20_gap30_ofm350_ch1_0_2006-12-20_11-17-27'; 
                                  'U20_gap30_ofm350_ch1_0_2006-12-20_11-17-27'; 
                                  'U20_gap30_ofm350_ch1_0_2006-12-20_11-17-27'; 
                                  'U20_gap30_ofm350_ch1_0_2006-12-20_11-17-27';
                                  'U20_gap30_ofm350_ch1_0_2006-12-20_11-17-27';
                                  'U20_gap30_ofm350_ch1_0_2006-12-20_11-17-27']);
        elseif strcmp(corName, 'CVE')                            
            fnMeasMain = cellstr(['U20_gap30_ofm350_ch2_m6_2006-12-20_11-24-02'; 
                                  'U20_gap30_ofm350_ch2_m4_2006-12-20_11-23-42'; 
                                  'U20_gap30_ofm350_ch2_m2_2006-12-20_11-23-16'; 
                                  'U20_gap30_ofm350_ch2_0_2006-12-20_11-21-13 '; 
                                  'U20_gap30_ofm350_ch2_2_2006-12-20_11-21-54 ';
                                  'U20_gap30_ofm350_ch2_4_2006-12-20_11-22-17 ';
                                  'U20_gap30_ofm350_ch2_6_2006-12-20_11-22-43 ']);
            fnMeasBkgr = cellstr(['U20_gap30_ofm350_ch2_0_2006-12-20_11-21-13'; 
                                  'U20_gap30_ofm350_ch2_0_2006-12-20_11-21-13'; 
                                  'U20_gap30_ofm350_ch2_0_2006-12-20_11-21-13'; 
                                  'U20_gap30_ofm350_ch2_0_2006-12-20_11-21-13'; 
                                  'U20_gap30_ofm350_ch2_0_2006-12-20_11-21-13';
                                  'U20_gap30_ofm350_ch2_0_2006-12-20_11-21-13';
                                  'U20_gap30_ofm350_ch2_0_2006-12-20_11-21-13']);                             
        elseif strcmp(corName, 'CHS')
            fnMeasMain = cellstr(['U20_gap30_ofm350_ch3_m6_2006-12-20_11-28-09'; 
                                  'U20_gap30_ofm350_ch3_m4_2006-12-20_11-27-48'; 
                                  'U20_gap30_ofm350_ch3_m2_2006-12-20_11-27-28'; 
                                  'U20_gap30_ofm350_ch3_0_2006-12-20_11-25-35 '; 
                                  'U20_gap30_ofm350_ch3_2_2006-12-20_11-26-26 ';
                                  'U20_gap30_ofm350_ch3_4_2006-12-20_11-26-46 ';
                                  'U20_gap30_ofm350_ch3_6_2006-12-20_11-27-09 ']);
            fnMeasBkgr = cellstr(['U20_gap30_ofm350_ch3_0_2006-12-20_11-25-35'; 
                                  'U20_gap30_ofm350_ch3_0_2006-12-20_11-25-35'; 
                                  'U20_gap30_ofm350_ch3_0_2006-12-20_11-25-35'; 
                                  'U20_gap30_ofm350_ch3_0_2006-12-20_11-25-35'; 
                                  'U20_gap30_ofm350_ch3_0_2006-12-20_11-25-35';
                                  'U20_gap30_ofm350_ch3_0_2006-12-20_11-25-35';
                                  'U20_gap30_ofm350_ch3_0_2006-12-20_11-25-35']);
        elseif strcmp(corName, 'CVS')
            fnMeasMain = cellstr(['U20_gap30_ofm350_ch4_m6_2006-12-20_11-31-15'; 
                                  'U20_gap30_ofm350_ch4_m4_2006-12-20_11-30-43'; 
                                  'U20_gap30_ofm350_ch4_m2_2006-12-20_11-30-28'; 
                                  'U20_gap30_ofm350_ch4_0_2006-12-20_11-28-40 '; 
                                  'U20_gap30_ofm350_ch4_2_2006-12-20_11-29-01 ';
                                  'U20_gap30_ofm350_ch4_4_2006-12-20_11-29-20 ';
                                  'U20_gap30_ofm350_ch4_6_2006-12-20_11-29-43 ']);
            fnMeasBkgr = cellstr(['U20_gap30_ofm350_ch4_0_2006-12-20_11-28-40'  ; 
                                  'U20_gap30_ofm350_ch4_0_2006-12-20_11-28-40'  ; 
                                  'U20_gap30_ofm350_ch4_0_2006-12-20_11-28-40'  ; 
                                  'U20_gap30_ofm350_ch4_0_2006-12-20_11-28-40'  ; 
                                  'U20_gap30_ofm350_ch4_0_2006-12-20_11-28-40'  ;
                                  'U20_gap30_ofm350_ch4_0_2006-12-20_11-28-40'  ;
                                  'U20_gap30_ofm350_ch4_0_2006-12-20_11-28-40']); 
        end
        
	elseif strcmp(idName, 'U20_SWING')
        vCurVals = [-6, -4, -2, 0, 2, 4, 6];
        if strcmp(corName, 'CHE')
            fnMeasMain = cellstr(['U20_gap30_ofm400_ch1_m6_2006-12-20_09-35-37'; 
                                  'U20_gap30_ofm400_ch1_m4_2006-12-20_09-35-13'; 
                                  'U20_gap30_ofm400_ch1_m2_2006-12-20_09-34-52'; 
                                  'U20_gap30_ofm400_ch1_0_2006-12-20_09-32-57 '; 
                                  'U20_gap30_ofm400_ch1_2_2006-12-20_09-33-26 ';
                                  'U20_gap30_ofm400_ch1_4_2006-12-20_09-33-50 ';
                                  'U20_gap30_ofm400_ch1_6_2006-12-20_09-34-11 ']);
            fnMeasBkgr = cellstr(['U20_gap30_ofm400_ch1_0_2006-12-20_09-32-57'; 
                                  'U20_gap30_ofm400_ch1_0_2006-12-20_09-32-57'; 
                                  'U20_gap30_ofm400_ch1_0_2006-12-20_09-32-57'; 
                                  'U20_gap30_ofm400_ch1_0_2006-12-20_09-32-57'; 
                                  'U20_gap30_ofm400_ch1_0_2006-12-20_09-32-57';
                                  'U20_gap30_ofm400_ch1_0_2006-12-20_09-32-57';
                                  'U20_gap30_ofm400_ch1_0_2006-12-20_09-32-57']);
        elseif strcmp(corName, 'CVE')                            
            fnMeasMain = cellstr(['U20_gap30_ofm400_ch2_m6_2006-12-20_09-41-18'; 
                                  'U20_gap30_ofm400_ch2_m4_2006-12-20_09-40-42'; 
                                  'U20_gap30_ofm400_ch2_m2_2006-12-20_09-39-55'; 
                                  'U20_gap30_ofm400_ch2_0_2006-12-20_09-37-47 '; 
                                  'U20_gap30_ofm400_ch2_2_2006-12-20_09-38-22 ';
                                  'U20_gap30_ofm400_ch2_4_2006-12-20_09-38-51 ';
                                  'U20_gap30_ofm400_ch2_6_2006-12-20_09-39-20 ']);
            fnMeasBkgr = cellstr(['U20_gap30_ofm400_ch2_0_2006-12-20_09-37-47'; 
                                  'U20_gap30_ofm400_ch2_0_2006-12-20_09-37-47'; 
                                  'U20_gap30_ofm400_ch2_0_2006-12-20_09-37-47'; 
                                  'U20_gap30_ofm400_ch2_0_2006-12-20_09-37-47'; 
                                  'U20_gap30_ofm400_ch2_0_2006-12-20_09-37-47';
                                  'U20_gap30_ofm400_ch2_0_2006-12-20_09-37-47';
                                  'U20_gap30_ofm400_ch2_0_2006-12-20_09-37-47']);                             
        elseif strcmp(corName, 'CHS')
            fnMeasMain = cellstr(['U20_gap30_ofm400_ch4_m6_2006-12-20_10-52-05'; 
                                  'U20_gap30_ofm400_ch4_m4_2006-12-20_10-51-34'; 
                                  'U20_gap30_ofm400_ch4_m2_2006-12-20_10-51-11'; 
                                  'U20_gap30_ofm400_ch4_0_2006-12-20_10-15-16 '; 
                                  'U20_gap30_ofm400_ch4_2_2006-12-20_10-49-35 ';
                                  'U20_gap30_ofm400_ch4_4_2006-12-20_10-50-19 ';
                                  'U20_gap30_ofm400_ch4_6_2006-12-20_10-50-42 ']);
            fnMeasBkgr = cellstr(['U20_gap30_ofm400_ch4_0_2006-12-20_10-15-16'; 
                                  'U20_gap30_ofm400_ch4_0_2006-12-20_10-15-16'; 
                                  'U20_gap30_ofm400_ch4_0_2006-12-20_10-15-16'; 
                                  'U20_gap30_ofm400_ch4_0_2006-12-20_10-15-16'; 
                                  'U20_gap30_ofm400_ch4_0_2006-12-20_10-15-16';
                                  'U20_gap30_ofm400_ch4_0_2006-12-20_10-15-16';
                                  'U20_gap30_ofm400_ch4_0_2006-12-20_10-15-16']);
        elseif strcmp(corName, 'CVS')
            fnMeasMain = cellstr(['U20_gap30_ofm400_ch3_m6_2006-12-20_10-56-00'; 
                                  'U20_gap30_ofm400_ch3_m4_2006-12-20_10-55-28'; 
                                  'U20_gap30_ofm400_ch3_m2_2006-12-20_10-54-50'; 
                                  'U20_gap30_ofm400_ch3_0_2006-12-20_10-52-41 '; 
                                  'U20_gap30_ofm400_ch3_2_2006-12-20_10-53-25 ';
                                  'U20_gap30_ofm400_ch3_4_2006-12-20_10-53-49 ';
                                  'U20_gap30_ofm400_ch3_6_2006-12-20_10-54-15 ']);
            fnMeasBkgr = cellstr(['U20_gap30_ofm400_ch3_0_2006-12-20_10-52-41'  ; 
                                  'U20_gap30_ofm400_ch3_0_2006-12-20_10-52-41'  ; 
                                  'U20_gap30_ofm400_ch3_0_2006-12-20_10-52-41'  ; 
                                  'U20_gap30_ofm400_ch3_0_2006-12-20_10-52-41'  ; 
                                  'U20_gap30_ofm400_ch3_0_2006-12-20_10-52-41'  ;
                                  'U20_gap30_ofm400_ch3_0_2006-12-20_10-52-41'  ;
                                  'U20_gap30_ofm400_ch3_0_2006-12-20_10-52-41']); 
        
        end 
	elseif strcmp(idName, 'U20_CRISTAL')
        vCurVals = [-6, -4, -2, 0, 2, 4, 6];
        if strcmp(corName, 'CHE')
            fnMeasMain = cellstr(['U20_gap30_of0_ch2_m6_2007-03-06_11-14-03'; 
                                  'U20_gap30_of0_ch2_m4_2007-03-06_11-13-41'; 
                                  'U20_gap30_of0_ch2_m2_2007-03-06_11-13-19'; 
                                  'U20_gap30_of0_ch2_0_2007-03-06_11-12-49 '; 
                                  'U20_gap30_of0_ch2_2_2007-03-06_11-02-34 ';
                                  'U20_gap30_of0_ch2_4_2007-03-06_11-03-07 ';
                                  'U20_gap30_of0_ch2_6_2007-03-06_11-09-37 ']);
            fnMeasBkgr = cellstr(['U20_gap30_of0_ch2_0_2007-03-06_11-12-49'; 
                                  'U20_gap30_of0_ch2_0_2007-03-06_11-12-49'; 
                                  'U20_gap30_of0_ch2_0_2007-03-06_11-12-49'; 
                                  'U20_gap30_of0_ch2_0_2007-03-06_11-12-49'; 
                                  'U20_gap30_of0_ch2_0_2007-03-06_11-12-49';
                                  'U20_gap30_of0_ch2_0_2007-03-06_11-12-49';
                                  'U20_gap30_of0_ch2_0_2007-03-06_11-12-49']);
        elseif strcmp(corName, 'CVE')                            
            fnMeasMain = cellstr(['U20_gap30_of0_ch1_m6_2007-03-06_11-20-13'; 
                                  'U20_gap30_of0_ch1_m4_2007-03-06_11-19-42'; 
                                  'U20_gap30_of0_ch1_m2_2007-03-06_11-19-20'; 
                                  'U20_gap30_of0_ch1_0_2007-03-06_11-18-55 '; 
                                  'U20_gap30_of0_ch1_2_2007-03-06_11-16-39 ';
                                  'U20_gap30_of0_ch1_4_2007-03-06_11-16-57 ';
                                  'U20_gap30_of0_ch1_6_2007-03-06_11-18-38 ']);
            fnMeasBkgr = cellstr(['U20_gap30_of0_ch1_0_2007-03-06_11-18-55'; 
                                  'U20_gap30_of0_ch1_0_2007-03-06_11-18-55'; 
                                  'U20_gap30_of0_ch1_0_2007-03-06_11-18-55'; 
                                  'U20_gap30_of0_ch1_0_2007-03-06_11-18-55'; 
                                  'U20_gap30_of0_ch1_0_2007-03-06_11-18-55';
                                  'U20_gap30_of0_ch1_0_2007-03-06_11-18-55';
                                  'U20_gap30_of0_ch1_0_2007-03-06_11-18-55']);                             
        elseif strcmp(corName, 'CHS')
            fnMeasMain = cellstr(['U20_gap30_of0_ch4_m6_2007-03-06_11-37-18'; 
                                  'U20_gap30_of0_ch4_m4_2007-03-06_11-37-05'; 
                                  'U20_gap30_of0_ch4_m2_2007-03-06_11-36-42'; 
                                  'U20_gap30_of0_ch4_0_2007-03-06_11-36-21 '; 
                                  'U20_gap30_of0_ch4_2_2007-03-06_11-35-19 ';
                                  'U20_gap30_of0_ch4_4_2007-03-06_11-35-35 ';
                                  'U20_gap30_of0_ch4_6_2007-03-06_11-36-04 ']);
            fnMeasBkgr = cellstr(['U20_gap30_of0_ch4_0_2007-03-06_11-36-21'; 
                                  'U20_gap30_of0_ch4_0_2007-03-06_11-36-21'; 
                                  'U20_gap30_of0_ch4_0_2007-03-06_11-36-21'; 
                                  'U20_gap30_of0_ch4_0_2007-03-06_11-36-21'; 
                                  'U20_gap30_of0_ch4_0_2007-03-06_11-36-21';
                                  'U20_gap30_of0_ch4_0_2007-03-06_11-36-21';
                                  'U20_gap30_of0_ch4_0_2007-03-06_11-36-21']);
        elseif strcmp(corName, 'CVS')
            fnMeasMain = cellstr(['U20_gap30_of0_ch3_m6_2007-03-06_11-42-59'; 
                                  'U20_gap30_of0_ch3_m4_2007-03-06_11-42-40'; 
                                  'U20_gap30_of0_ch3_m2_2007-03-06_11-40-23'; 
                                  'U20_gap30_of0_ch3_0_2007-03-06_11-40-08 '; 
                                  'U20_gap30_of0_ch3_2_2007-03-06_11-39-09 ';
                                  'U20_gap30_of0_ch3_4_2007-03-06_11-39-26 ';
                                  'U20_gap30_of0_ch3_6_2007-03-06_11-39-50 ']);
            fnMeasBkgr = cellstr(['U20_gap30_of0_ch3_0_2007-03-06_11-40-08'  ; 
                                  'U20_gap30_of0_ch3_0_2007-03-06_11-40-08'  ; 
                                  'U20_gap30_of0_ch3_0_2007-03-06_11-40-08'  ; 
                                  'U20_gap30_of0_ch3_0_2007-03-06_11-40-08'  ; 
                                  'U20_gap30_of0_ch3_0_2007-03-06_11-40-08'  ;
                                  'U20_gap30_of0_ch3_0_2007-03-06_11-40-08'  ;
                                  'U20_gap30_of0_ch3_0_2007-03-06_11-40-08']); 
        end
    end
elseif strncmp(idName, 'HU80', 4)
    
    if strcmp(idName, 'HU80_PLEIADES')
        vCurVals = [-10, -5, 0, 5, 10];
        if (gap < 0.5*(15.5 + 18))
            if strcmp(corName, 'CHE')
                fnMeasMain = cellstr(['C1G15_5_he-10_ve0_hs0_vs0_2007-03-25_10-28-48';
                                      'C1G15_5_he-5_ve0_hs0_vs0_2007-03-25_10-29-07 ';
                                      'C1G15_5_he0_ve0_hs0_vs0_2007-03-25_10-29-25  ';
                                      'C1G15_5_he5_ve0_hs0_vs0_2007-03-25_10-29-44  ';
                                      'C1G15_5_he10_ve0_hs0_vs0_2007-03-25_10-30-02 ']);
                fnMeasBkgr = cellstr(['C1G15_5_he0_ve0_hs0_vs0_2007-03-25_10-29-25  '; 
                                      'C1G15_5_he0_ve0_hs0_vs0_2007-03-25_10-29-25  '; 
                                      'C1G15_5_he0_ve0_hs0_vs0_2007-03-25_10-29-25  '; 
                                      'C1G15_5_he0_ve0_hs0_vs0_2007-03-25_10-29-25  '; 
                                      'C1G15_5_he0_ve0_hs0_vs0_2007-03-25_10-29-25  ']);
            elseif strcmp(corName, 'CVE')
                fnMeasMain = cellstr(['C1G15_5_he0_ve-10_hs0_vs0_2007-03-25_10-30-24';
                                      'C1G15_5_he0_ve-5_hs0_vs0_2007-03-25_10-30-42 ';
                                      'C1G15_5_he0_ve0_hs0_vs0_2007-03-25_10-31-01  ';
                                      'C1G15_5_he0_ve5_hs0_vs0_2007-03-25_10-31-20  ';
                                      'C1G15_5_he0_ve10_hs0_vs0_2007-03-25_10-31-38 ']);
                fnMeasBkgr = cellstr(['C1G15_5_he0_ve0_hs0_vs0_2007-03-25_10-31-01'; 
                                      'C1G15_5_he0_ve0_hs0_vs0_2007-03-25_10-31-01'; 
                                      'C1G15_5_he0_ve0_hs0_vs0_2007-03-25_10-31-01'; 
                                      'C1G15_5_he0_ve0_hs0_vs0_2007-03-25_10-31-01'; 
                                      'C1G15_5_he0_ve0_hs0_vs0_2007-03-25_10-31-01']);
            elseif strcmp(corName, 'CHS')
                fnMeasMain = cellstr(['C1G15_5_he0_ve0_hs-10_vs0_2007-03-25_10-31-59';
                                      'C1G15_5_he0_ve0_hs-5_vs0_2007-03-25_10-32-18 ';
                                      'C1G15_5_he0_ve0_hs0_vs0_2007-03-25_10-32-36  ';
                                      'C1G15_5_he0_ve0_hs5_vs0_2007-03-25_10-32-55  ';
                                      'C1G15_5_he0_ve0_hs10_vs0_2007-03-25_10-33-13 ']);
                fnMeasBkgr = cellstr(['C1G15_5_he0_ve0_hs0_vs0_2007-03-25_10-32-36'; 
                                      'C1G15_5_he0_ve0_hs0_vs0_2007-03-25_10-32-36'; 
                                      'C1G15_5_he0_ve0_hs0_vs0_2007-03-25_10-32-36'; 
                                      'C1G15_5_he0_ve0_hs0_vs0_2007-03-25_10-32-36'; 
                                      'C1G15_5_he0_ve0_hs0_vs0_2007-03-25_10-32-36']);
            elseif strcmp(corName, 'CVS')
                fnMeasMain = cellstr(['C1G15_5_he0_ve0_hs0_vs-10_2007-03-25_10-33-35';
                                      'C1G15_5_he0_ve0_hs0_vs-5_2007-03-25_10-33-54 ';
                                      'C1G15_5_he0_ve0_hs0_vs0_2007-03-25_10-34-11  ';
                                      'C1G15_5_he0_ve0_hs0_vs5_2007-03-25_10-34-30  ';
                                      'C1G15_5_he0_ve0_hs0_vs10_2007-03-25_10-34-48 ']);
                fnMeasBkgr = cellstr(['C1G15_5_he0_ve0_hs0_vs0_2007-03-25_10-34-11'; 
                                      'C1G15_5_he0_ve0_hs0_vs0_2007-03-25_10-34-11'; 
                                      'C1G15_5_he0_ve0_hs0_vs0_2007-03-25_10-34-11'; 
                                      'C1G15_5_he0_ve0_hs0_vs0_2007-03-25_10-34-11'; 
                                      'C1G15_5_he0_ve0_hs0_vs0_2007-03-25_10-34-11']);
            end
        elseif (gap < 0.5*(18 + 20))
            if strcmp(corName, 'CHE')
                fnMeasMain = cellstr(['C1G18_he-10_ve0_hs0_vs0_2007-03-25_10-41-14';
                                      'C1G18_he-5_ve0_hs0_vs0_2007-03-25_10-41-33 ';
                                      'C1G18_he0_ve0_hs0_vs0_2007-03-25_10-41-52  ';
                                      'C1G18_he5_ve0_hs0_vs0_2007-03-25_10-42-10  ';
                                      'C1G18_he10_ve0_hs0_vs0_2007-03-25_10-42-29 ']);
                fnMeasBkgr = cellstr(['C1G18_he0_ve0_hs0_vs0_2007-03-25_10-41-52'; 
                                      'C1G18_he0_ve0_hs0_vs0_2007-03-25_10-41-52'; 
                                      'C1G18_he0_ve0_hs0_vs0_2007-03-25_10-41-52'; 
                                      'C1G18_he0_ve0_hs0_vs0_2007-03-25_10-41-52'; 
                                      'C1G18_he0_ve0_hs0_vs0_2007-03-25_10-41-52']);
            elseif strcmp(corName, 'CVE')
                fnMeasMain = cellstr(['C1G18_he0_ve-10_hs0_vs0_2007-03-25_10-42-50';
                                      'C1G18_he0_ve-5_hs0_vs0_2007-03-25_10-43-09 ';
                                      'C1G18_he0_ve0_hs0_vs0_2007-03-25_10-43-27  ';
                                      'C1G18_he0_ve5_hs0_vs0_2007-03-25_10-43-46  ';
                                      'C1G18_he0_ve10_hs0_vs0_2007-03-25_10-44-03 ']);
                fnMeasBkgr = cellstr(['C1G18_he0_ve0_hs0_vs0_2007-03-25_10-43-27'; 
                                      'C1G18_he0_ve0_hs0_vs0_2007-03-25_10-43-27'; 
                                      'C1G18_he0_ve0_hs0_vs0_2007-03-25_10-43-27'; 
                                      'C1G18_he0_ve0_hs0_vs0_2007-03-25_10-43-27'; 
                                      'C1G18_he0_ve0_hs0_vs0_2007-03-25_10-43-27']);
            elseif strcmp(corName, 'CHS')
                fnMeasMain = cellstr(['C1G18_he0_ve0_hs-10_vs0_2007-03-25_10-44-23';
                                      'C1G18_he0_ve0_hs-5_vs0_2007-03-25_10-44-41 ';
                                      'C1G18_he0_ve0_hs0_vs0_2007-03-25_10-44-59  ';
                                      'C1G18_he0_ve0_hs5_vs0_2007-03-25_10-45-18  ';
                                      'C1G18_he0_ve0_hs10_vs0_2007-03-25_10-45-36 ']);
                fnMeasBkgr = cellstr(['C1G18_he0_ve0_hs0_vs0_2007-03-25_10-44-59'; 
                                      'C1G18_he0_ve0_hs0_vs0_2007-03-25_10-44-59'; 
                                      'C1G18_he0_ve0_hs0_vs0_2007-03-25_10-44-59'; 
                                      'C1G18_he0_ve0_hs0_vs0_2007-03-25_10-44-59'; 
                                      'C1G18_he0_ve0_hs0_vs0_2007-03-25_10-44-59']);
            elseif strcmp(corName, 'CVS')
                fnMeasMain = cellstr(['C1G18_he0_ve0_hs0_vs-10_2007-03-25_10-45-59';
                                      'C1G18_he0_ve0_hs0_vs-5_2007-03-25_10-46-16 ';
                                      'C1G18_he0_ve0_hs0_vs0_2007-03-25_10-46-35  ';
                                      'C1G18_he0_ve0_hs0_vs5_2007-03-25_10-46-53  ';
                                      'C1G18_he0_ve0_hs0_vs10_2007-03-25_10-47-12 ']);
                fnMeasBkgr = cellstr(['C1G18_he0_ve0_hs0_vs0_2007-03-25_10-46-35'; 
                                      'C1G18_he0_ve0_hs0_vs0_2007-03-25_10-46-35'; 
                                      'C1G18_he0_ve0_hs0_vs0_2007-03-25_10-46-35'; 
                                      'C1G18_he0_ve0_hs0_vs0_2007-03-25_10-46-35'; 
                                      'C1G18_he0_ve0_hs0_vs0_2007-03-25_10-46-35']);
            end
        elseif (gap < 0.5*(20 + 25))
            if strcmp(corName, 'CHE')
                fnMeasMain = cellstr(['C1G20_he-10_ve0_hs0_vs0_2007-03-25_10-51-00';
                                      'C1G20_he-5_ve0_hs0_vs0_2007-03-25_10-51-19 ';
                                      'C1G20_he0_ve0_hs0_vs0_2007-03-25_10-51-38  ';
                                      'C1G20_he5_ve0_hs0_vs0_2007-03-25_10-51-56  ';
                                      'C1G20_he10_ve0_hs0_vs0_2007-03-25_10-52-15 ']);
                fnMeasBkgr = cellstr(['C1G20_he0_ve0_hs0_vs0_2007-03-25_10-51-38'; 
                                      'C1G20_he0_ve0_hs0_vs0_2007-03-25_10-51-38'; 
                                      'C1G20_he0_ve0_hs0_vs0_2007-03-25_10-51-38'; 
                                      'C1G20_he0_ve0_hs0_vs0_2007-03-25_10-51-38'; 
                                      'C1G20_he0_ve0_hs0_vs0_2007-03-25_10-51-38']);
            elseif strcmp(corName, 'CVE')
                fnMeasMain = cellstr(['C1G20_he0_ve-10_hs0_vs0_2007-03-25_10-52-36';
                                      'C1G20_he0_ve-5_hs0_vs0_2007-03-25_10-52-55 ';
                                      'C1G20_he0_ve0_hs0_vs0_2007-03-25_10-53-13  ';
                                      'C1G20_he0_ve5_hs0_vs0_2007-03-25_10-53-32  ';
                                      'C1G20_he0_ve10_hs0_vs0_2007-03-25_10-53-50 ']);
                fnMeasBkgr = cellstr(['C1G20_he0_ve0_hs0_vs0_2007-03-25_10-53-13'; 
                                      'C1G20_he0_ve0_hs0_vs0_2007-03-25_10-53-13'; 
                                      'C1G20_he0_ve0_hs0_vs0_2007-03-25_10-53-13'; 
                                      'C1G20_he0_ve0_hs0_vs0_2007-03-25_10-53-13'; 
                                      'C1G20_he0_ve0_hs0_vs0_2007-03-25_10-53-13']);
            elseif strcmp(corName, 'CHS')
                fnMeasMain = cellstr(['C1G20_he0_ve0_hs-10_vs0_2007-03-25_10-54-10';
                                      'C1G20_he0_ve0_hs-5_vs0_2007-03-25_10-54-27 ';
                                      'C1G20_he0_ve0_hs0_vs0_2007-03-25_10-54-46  ';
                                      'C1G20_he0_ve0_hs5_vs0_2007-03-25_10-55-05  ';
                                      'C1G20_he0_ve0_hs10_vs0_2007-03-25_10-55-23 ']);
                fnMeasBkgr = cellstr(['C1G20_he0_ve0_hs0_vs0_2007-03-25_10-54-46'; 
                                      'C1G20_he0_ve0_hs0_vs0_2007-03-25_10-54-46'; 
                                      'C1G20_he0_ve0_hs0_vs0_2007-03-25_10-54-46'; 
                                      'C1G20_he0_ve0_hs0_vs0_2007-03-25_10-54-46'; 
                                      'C1G20_he0_ve0_hs0_vs0_2007-03-25_10-54-46']);
            elseif strcmp(corName, 'CVS')
                fnMeasMain = cellstr(['C1G20_he0_ve0_hs0_vs-10_2007-03-25_10-55-45';
                                      'C1G20_he0_ve0_hs0_vs-5_2007-03-25_10-56-03 ';
                                      'C1G20_he0_ve0_hs0_vs0_2007-03-25_10-56-21  ';
                                      'C1G20_he0_ve0_hs0_vs5_2007-03-25_10-56-40  ';
                                      'C1G20_he0_ve0_hs0_vs10_2007-03-25_10-56-58 ']);
                fnMeasBkgr = cellstr(['C1G20_he0_ve0_hs0_vs0_2007-03-25_10-56-21'; 
                                      'C1G20_he0_ve0_hs0_vs0_2007-03-25_10-56-21'; 
                                      'C1G20_he0_ve0_hs0_vs0_2007-03-25_10-56-21'; 
                                      'C1G20_he0_ve0_hs0_vs0_2007-03-25_10-56-21'; 
                                      'C1G20_he0_ve0_hs0_vs0_2007-03-25_10-56-21']);
            end
        elseif (gap < 0.5*(25 + 30))
            if strcmp(corName, 'CHE')
                fnMeasMain = cellstr(['C1G25_he-10_ve0_hs0_vs0_2007-03-25_11-04-48';
                                      'C1G25_he-5_ve0_hs0_vs0_2007-03-25_11-05-06 ';
                                      'C1G25_he0_ve0_hs0_vs0_2007-03-25_11-05-25  ';
                                      'C1G25_he5_ve0_hs0_vs0_2007-03-25_11-05-43  ';
                                      'C1G25_he10_ve0_hs0_vs0_2007-03-25_11-06-02 ']);
                fnMeasBkgr = cellstr(['C1G25_he0_ve0_hs0_vs0_2007-03-25_11-05-25'; 
                                      'C1G25_he0_ve0_hs0_vs0_2007-03-25_11-05-25'; 
                                      'C1G25_he0_ve0_hs0_vs0_2007-03-25_11-05-25'; 
                                      'C1G25_he0_ve0_hs0_vs0_2007-03-25_11-05-25'; 
                                      'C1G25_he0_ve0_hs0_vs0_2007-03-25_11-05-25']);
            elseif strcmp(corName, 'CVE')
                fnMeasMain = cellstr(['C1G25_he0_ve-10_hs0_vs0_2007-03-25_11-06-24';
                                      'C1G25_he0_ve-5_hs0_vs0_2007-03-25_11-06-42 ';
                                      'C1G25_he0_ve0_hs0_vs0_2007-03-25_11-07-01  ';
                                      'C1G25_he0_ve5_hs0_vs0_2007-03-25_11-07-19  ';
                                      'C1G25_he0_ve10_hs0_vs0_2007-03-25_11-07-38 ']);
                fnMeasBkgr = cellstr(['C1G25_he0_ve0_hs0_vs0_2007-03-25_11-07-01'; 
                                      'C1G25_he0_ve0_hs0_vs0_2007-03-25_11-07-01'; 
                                      'C1G25_he0_ve0_hs0_vs0_2007-03-25_11-07-01'; 
                                      'C1G25_he0_ve0_hs0_vs0_2007-03-25_11-07-01'; 
                                      'C1G25_he0_ve0_hs0_vs0_2007-03-25_11-07-01']);
            elseif strcmp(corName, 'CHS')
                fnMeasMain = cellstr(['C1G25_he0_ve0_hs-10_vs0_2007-03-25_11-07-57';
                                      'C1G25_he0_ve0_hs-5_vs0_2007-03-25_11-08-16 ';
                                      'C1G25_he0_ve0_hs0_vs0_2007-03-25_11-08-34  ';
                                      'C1G25_he0_ve0_hs5_vs0_2007-03-25_11-08-52  ';
                                      'C1G25_he0_ve0_hs10_vs0_2007-03-25_11-09-11 ']);
                fnMeasBkgr = cellstr(['C1G25_he0_ve0_hs0_vs0_2007-03-25_11-08-34'; 
                                      'C1G25_he0_ve0_hs0_vs0_2007-03-25_11-08-34'; 
                                      'C1G25_he0_ve0_hs0_vs0_2007-03-25_11-08-34'; 
                                      'C1G25_he0_ve0_hs0_vs0_2007-03-25_11-08-34'; 
                                      'C1G25_he0_ve0_hs0_vs0_2007-03-25_11-08-34']);
            elseif strcmp(corName, 'CVS')
                fnMeasMain = cellstr(['C1G25_he0_ve0_hs0_vs-10_2007-03-25_11-09-34';
                                      'C1G25_he0_ve0_hs0_vs-5_2007-03-25_11-09-51 ';
                                      'C1G25_he0_ve0_hs0_vs0_2007-03-25_11-10-09  ';
                                      'C1G25_he0_ve0_hs0_vs5_2007-03-25_11-10-28  ';
                                      'C1G25_he0_ve0_hs0_vs10_2007-03-25_11-10-46 ']);
                fnMeasBkgr = cellstr(['C1G25_he0_ve0_hs0_vs0_2007-03-25_11-10-09'; 
                                      'C1G25_he0_ve0_hs0_vs0_2007-03-25_11-10-09'; 
                                      'C1G25_he0_ve0_hs0_vs0_2007-03-25_11-10-09'; 
                                      'C1G25_he0_ve0_hs0_vs0_2007-03-25_11-10-09'; 
                                      'C1G25_he0_ve0_hs0_vs0_2007-03-25_11-10-09']);
            end
        elseif (gap < 0.5*(30 + 35))
            if strcmp(corName, 'CHE')
                fnMeasMain = cellstr(['C1G30_he-10_ve0_hs0_vs0_2007-03-25_11-13-09';
                                      'C1G30_he-5_ve0_hs0_vs0_2007-03-25_11-13-28 ';
                                      'C1G30_he0_ve0_hs0_vs0_2007-03-25_11-13-46  ';
                                      'C1G30_he5_ve0_hs0_vs0_2007-03-25_11-14-04  ';
                                      'C1G30_he10_ve0_hs0_vs0_2007-03-25_11-14-22 ']);
                fnMeasBkgr = cellstr(['C1G30_he0_ve0_hs0_vs0_2007-03-25_11-13-46'; 
                                      'C1G30_he0_ve0_hs0_vs0_2007-03-25_11-13-46'; 
                                      'C1G30_he0_ve0_hs0_vs0_2007-03-25_11-13-46'; 
                                      'C1G30_he0_ve0_hs0_vs0_2007-03-25_11-13-46'; 
                                      'C1G30_he0_ve0_hs0_vs0_2007-03-25_11-13-46']);
            elseif strcmp(corName, 'CVE')
                fnMeasMain = cellstr(['C1G30_he0_ve-10_hs0_vs0_2007-03-25_11-14-44';
                                      'C1G30_he0_ve-5_hs0_vs0_2007-03-25_11-15-01 ';
                                      'C1G30_he0_ve0_hs0_vs0_2007-03-25_11-15-20  ';
                                      'C1G30_he0_ve5_hs0_vs0_2007-03-25_11-15-39  ';
                                      'C1G30_he0_ve10_hs0_vs0_2007-03-25_11-15-57 ']);
                fnMeasBkgr = cellstr(['C1G30_he0_ve0_hs0_vs0_2007-03-25_11-15-20'; 
                                      'C1G30_he0_ve0_hs0_vs0_2007-03-25_11-15-20'; 
                                      'C1G30_he0_ve0_hs0_vs0_2007-03-25_11-15-20'; 
                                      'C1G30_he0_ve0_hs0_vs0_2007-03-25_11-15-20'; 
                                      'C1G30_he0_ve0_hs0_vs0_2007-03-25_11-15-20']);
            elseif strcmp(corName, 'CHS')
                fnMeasMain = cellstr(['C1G30_he0_ve0_hs-10_vs0_2007-03-25_11-16-17';
                                      'C1G30_he0_ve0_hs-5_vs0_2007-03-25_11-16-36 ';
                                      'C1G30_he0_ve0_hs0_vs0_2007-03-25_11-16-54  ';
                                      'C1G30_he0_ve0_hs5_vs0_2007-03-25_11-17-12  ';
                                      'C1G30_he0_ve0_hs10_vs0_2007-03-25_11-17-30 ']);
                fnMeasBkgr = cellstr(['C1G30_he0_ve0_hs0_vs0_2007-03-25_11-16-54'; 
                                      'C1G30_he0_ve0_hs0_vs0_2007-03-25_11-16-54'; 
                                      'C1G30_he0_ve0_hs0_vs0_2007-03-25_11-16-54'; 
                                      'C1G30_he0_ve0_hs0_vs0_2007-03-25_11-16-54'; 
                                      'C1G30_he0_ve0_hs0_vs0_2007-03-25_11-16-54']);
            elseif strcmp(corName, 'CVS')
                fnMeasMain = cellstr(['C1G30_he0_ve0_hs0_vs-10_2007-03-25_11-17-52';
                                      'C1G30_he0_ve0_hs0_vs-5_2007-03-25_11-18-11 ';
                                      'C1G30_he0_ve0_hs0_vs0_2007-03-25_11-18-29  ';
                                      'C1G30_he0_ve0_hs0_vs5_2007-03-25_11-18-48  ';
                                      'C1G30_he0_ve0_hs0_vs10_2007-03-25_11-19-05 ']);
                fnMeasBkgr = cellstr(['C1G30_he0_ve0_hs0_vs0_2007-03-25_11-18-29'; 
                                      'C1G30_he0_ve0_hs0_vs0_2007-03-25_11-18-29'; 
                                      'C1G30_he0_ve0_hs0_vs0_2007-03-25_11-18-29'; 
                                      'C1G30_he0_ve0_hs0_vs0_2007-03-25_11-18-29'; 
                                      'C1G30_he0_ve0_hs0_vs0_2007-03-25_11-18-29']);
            end
        elseif (gap < 0.5*(35 + 40))
            if strcmp(corName, 'CHE')
                fnMeasMain = cellstr(['C1G35_he-10_ve0_hs0_vs0_2007-03-25_11-23-34';
                                      'C1G35_he-5_ve0_hs0_vs0_2007-03-25_11-23-53 ';
                                      'C1G35_he0_ve0_hs0_vs0_2007-03-25_11-24-12  ';
                                      'C1G35_he5_ve0_hs0_vs0_2007-03-25_11-24-30  ';
                                      'C1G35_he10_ve0_hs0_vs0_2007-03-25_11-24-49 ']);
                fnMeasBkgr = cellstr(['C1G35_he0_ve0_hs0_vs0_2007-03-25_11-24-12'; 
                                      'C1G35_he0_ve0_hs0_vs0_2007-03-25_11-24-12'; 
                                      'C1G35_he0_ve0_hs0_vs0_2007-03-25_11-24-12'; 
                                      'C1G35_he0_ve0_hs0_vs0_2007-03-25_11-24-12'; 
                                      'C1G35_he0_ve0_hs0_vs0_2007-03-25_11-24-12']);
            elseif strcmp(corName, 'CVE')
                fnMeasMain = cellstr(['C1G35_he0_ve-10_hs0_vs0_2007-03-25_11-25-10';
                                      'C1G35_he0_ve-5_hs0_vs0_2007-03-25_11-25-29 ';
                                      'C1G35_he0_ve0_hs0_vs0_2007-03-25_11-25-47  ';
                                      'C1G35_he0_ve5_hs0_vs0_2007-03-25_11-26-06  ';
                                      'C1G35_he0_ve10_hs0_vs0_2007-03-25_11-26-25 ']);
                fnMeasBkgr = cellstr(['C1G35_he0_ve0_hs0_vs0_2007-03-25_11-25-47'; 
                                      'C1G35_he0_ve0_hs0_vs0_2007-03-25_11-25-47'; 
                                      'C1G35_he0_ve0_hs0_vs0_2007-03-25_11-25-47'; 
                                      'C1G35_he0_ve0_hs0_vs0_2007-03-25_11-25-47'; 
                                      'C1G35_he0_ve0_hs0_vs0_2007-03-25_11-25-47']);
            elseif strcmp(corName, 'CHS')
                fnMeasMain = cellstr(['C1G35_he0_ve0_hs-10_vs0_2007-03-25_11-26-44';
                                      'C1G35_he0_ve0_hs-5_vs0_2007-03-25_11-27-02 ';
                                      'C1G35_he0_ve0_hs0_vs0_2007-03-25_11-27-19  ';
                                      'C1G35_he0_ve0_hs5_vs0_2007-03-25_11-27-38  ';
                                      'C1G35_he0_ve0_hs10_vs0_2007-03-25_11-27-55 ']);
                fnMeasBkgr = cellstr(['C1G35_he0_ve0_hs0_vs0_2007-03-25_11-27-19'; 
                                      'C1G35_he0_ve0_hs0_vs0_2007-03-25_11-27-19'; 
                                      'C1G35_he0_ve0_hs0_vs0_2007-03-25_11-27-19'; 
                                      'C1G35_he0_ve0_hs0_vs0_2007-03-25_11-27-19'; 
                                      'C1G35_he0_ve0_hs0_vs0_2007-03-25_11-27-19']);
            elseif strcmp(corName, 'CVS')
                fnMeasMain = cellstr(['C1G35_he0_ve0_hs0_vs-10_2007-03-25_11-28-18';
                                      'C1G35_he0_ve0_hs0_vs-5_2007-03-25_11-28-37 ';
                                      'C1G35_he0_ve0_hs0_vs0_2007-03-25_11-28-54  ';
                                      'C1G35_he0_ve0_hs0_vs5_2007-03-25_11-29-13  ';
                                      'C1G35_he0_ve0_hs0_vs10_2007-03-25_11-29-30 ']);
                fnMeasBkgr = cellstr(['C1G35_he0_ve0_hs0_vs0_2007-03-25_11-28-54'; 
                                      'C1G35_he0_ve0_hs0_vs0_2007-03-25_11-28-54'; 
                                      'C1G35_he0_ve0_hs0_vs0_2007-03-25_11-28-54'; 
                                      'C1G35_he0_ve0_hs0_vs0_2007-03-25_11-28-54'; 
                                      'C1G35_he0_ve0_hs0_vs0_2007-03-25_11-28-54']);
            end
        elseif (gap < 0.5*(40 + 45))
            if strcmp(corName, 'CHE')
                fnMeasMain = cellstr(['C1G40_he-10_ve0_hs0_vs0_2007-03-25_11-31-57';
                                      'C1G40_he-5_ve0_hs0_vs0_2007-03-25_11-32-15 ';
                                      'C1G40_he0_ve0_hs0_vs0_2007-03-25_11-32-34  ';
                                      'C1G40_he5_ve0_hs0_vs0_2007-03-25_11-32-52  ';
                                      'C1G40_he10_ve0_hs0_vs0_2007-03-25_11-33-11 ']);
                fnMeasBkgr = cellstr(['C1G40_he0_ve0_hs0_vs0_2007-03-25_11-32-34'; 
                                      'C1G40_he0_ve0_hs0_vs0_2007-03-25_11-32-34'; 
                                      'C1G40_he0_ve0_hs0_vs0_2007-03-25_11-32-34'; 
                                      'C1G40_he0_ve0_hs0_vs0_2007-03-25_11-32-34'; 
                                      'C1G40_he0_ve0_hs0_vs0_2007-03-25_11-32-34']);
            elseif strcmp(corName, 'CVE')
                fnMeasMain = cellstr(['C1G40_he0_ve-10_hs0_vs0_2007-03-25_11-33-32';
                                      'C1G40_he0_ve-5_hs0_vs0_2007-03-25_11-33-51 ';
                                      'C1G40_he0_ve0_hs0_vs0_2007-03-25_11-34-10  ';
                                      'C1G40_he0_ve5_hs0_vs0_2007-03-25_11-34-29  ';
                                      'C1G40_he0_ve10_hs0_vs0_2007-03-25_11-34-47 ']);
                fnMeasBkgr = cellstr(['C1G40_he0_ve0_hs0_vs0_2007-03-25_11-34-10'; 
                                      'C1G40_he0_ve0_hs0_vs0_2007-03-25_11-34-10'; 
                                      'C1G40_he0_ve0_hs0_vs0_2007-03-25_11-34-10'; 
                                      'C1G40_he0_ve0_hs0_vs0_2007-03-25_11-34-10'; 
                                      'C1G40_he0_ve0_hs0_vs0_2007-03-25_11-34-10']);
            elseif strcmp(corName, 'CHS')
                fnMeasMain = cellstr(['C1G40_he0_ve0_hs-10_vs0_2007-03-25_11-35-07';
                                      'C1G40_he0_ve0_hs-5_vs0_2007-03-25_11-35-25 ';
                                      'C1G40_he0_ve0_hs0_vs0_2007-03-25_11-35-44  ';
                                      'C1G40_he0_ve0_hs5_vs0_2007-03-25_11-36-01  ';
                                      'C1G40_he0_ve0_hs10_vs0_2007-03-25_11-36-20 ']);
                fnMeasBkgr = cellstr(['C1G40_he0_ve0_hs0_vs0_2007-03-25_11-35-44'; 
                                      'C1G40_he0_ve0_hs0_vs0_2007-03-25_11-35-44'; 
                                      'C1G40_he0_ve0_hs0_vs0_2007-03-25_11-35-44'; 
                                      'C1G40_he0_ve0_hs0_vs0_2007-03-25_11-35-44'; 
                                      'C1G40_he0_ve0_hs0_vs0_2007-03-25_11-35-44']);
            elseif strcmp(corName, 'CVS')
                fnMeasMain = cellstr(['C1G40_he0_ve0_hs0_vs-10_2007-03-25_11-36-43';
                                      'C1G40_he0_ve0_hs0_vs-5_2007-03-25_11-37-01 ';
                                      'C1G40_he0_ve0_hs0_vs0_2007-03-25_11-37-19  ';
                                      'C1G40_he0_ve0_hs0_vs5_2007-03-25_11-37-37  ';
                                      'C1G40_he0_ve0_hs0_vs10_2007-03-25_11-37-55 ']);
                fnMeasBkgr = cellstr(['C1G40_he0_ve0_hs0_vs0_2007-03-25_11-37-19'; 
                                      'C1G40_he0_ve0_hs0_vs0_2007-03-25_11-37-19'; 
                                      'C1G40_he0_ve0_hs0_vs0_2007-03-25_11-37-19'; 
                                      'C1G40_he0_ve0_hs0_vs0_2007-03-25_11-37-19'; 
                                      'C1G40_he0_ve0_hs0_vs0_2007-03-25_11-37-19']);
            end
        elseif (gap < 0.5*(45 + 50))
            if strcmp(corName, 'CHE')
                fnMeasMain = cellstr(['C1G45_he-10_ve0_hs0_vs0_2007-03-25_11-41-26';
                                      'C1G45_he-5_ve0_hs0_vs0_2007-03-25_11-41-45 ';
                                      'C1G45_he0_ve0_hs0_vs0_2007-03-25_11-42-03  ';
                                      'C1G45_he5_ve0_hs0_vs0_2007-03-25_11-42-22  ';
                                      'C1G45_he10_ve0_hs0_vs0_2007-03-25_11-42-41 ']);
                fnMeasBkgr = cellstr(['C1G45_he0_ve0_hs0_vs0_2007-03-25_11-42-03'; 
                                      'C1G45_he0_ve0_hs0_vs0_2007-03-25_11-42-03'; 
                                      'C1G45_he0_ve0_hs0_vs0_2007-03-25_11-42-03'; 
                                      'C1G45_he0_ve0_hs0_vs0_2007-03-25_11-42-03'; 
                                      'C1G45_he0_ve0_hs0_vs0_2007-03-25_11-42-03']);
            elseif strcmp(corName, 'CVE')
                fnMeasMain = cellstr(['C1G45_he0_ve-10_hs0_vs0_2007-03-25_11-43-03';
                                      'C1G45_he0_ve-5_hs0_vs0_2007-03-25_11-43-22 ';
                                      'C1G45_he0_ve0_hs0_vs0_2007-03-25_11-43-40  ';
                                      'C1G45_he0_ve5_hs0_vs0_2007-03-25_11-43-59  ';
                                      'C1G45_he0_ve10_hs0_vs0_2007-03-25_11-44-17 ']);
                fnMeasBkgr = cellstr(['C1G45_he0_ve0_hs0_vs0_2007-03-25_11-43-40'; 
                                      'C1G45_he0_ve0_hs0_vs0_2007-03-25_11-43-40'; 
                                      'C1G45_he0_ve0_hs0_vs0_2007-03-25_11-43-40'; 
                                      'C1G45_he0_ve0_hs0_vs0_2007-03-25_11-43-40'; 
                                      'C1G45_he0_ve0_hs0_vs0_2007-03-25_11-43-40']);
            elseif strcmp(corName, 'CHS')
                fnMeasMain = cellstr(['C1G45_he0_ve0_hs-10_vs0_2007-03-25_11-44-38';
                                      'C1G45_he0_ve0_hs-5_vs0_2007-03-25_11-44-57 ';
                                      'C1G45_he0_ve0_hs0_vs0_2007-03-25_11-45-15  ';
                                      'C1G45_he0_ve0_hs5_vs0_2007-03-25_11-45-34  ';
                                      'C1G45_he0_ve0_hs10_vs0_2007-03-25_11-45-53 ']);
                fnMeasBkgr = cellstr(['C1G45_he0_ve0_hs0_vs0_2007-03-25_11-45-15'; 
                                      'C1G45_he0_ve0_hs0_vs0_2007-03-25_11-45-15'; 
                                      'C1G45_he0_ve0_hs0_vs0_2007-03-25_11-45-15'; 
                                      'C1G45_he0_ve0_hs0_vs0_2007-03-25_11-45-15'; 
                                      'C1G45_he0_ve0_hs0_vs0_2007-03-25_11-45-15']);
            elseif strcmp(corName, 'CVS')
                fnMeasMain = cellstr(['C1G45_he0_ve0_hs0_vs-10_2007-03-25_11-46-15';
                                      'C1G45_he0_ve0_hs0_vs-5_2007-03-25_11-46-34 ';
                                      'C1G45_he0_ve0_hs0_vs0_2007-03-25_11-46-52  ';
                                      'C1G45_he0_ve0_hs0_vs5_2007-03-25_11-47-10  ';
                                      'C1G45_he0_ve0_hs0_vs10_2007-03-25_11-47-28 ']);
                fnMeasBkgr = cellstr(['C1G45_he0_ve0_hs0_vs0_2007-03-25_11-46-52'; 
                                      'C1G45_he0_ve0_hs0_vs0_2007-03-25_11-46-52'; 
                                      'C1G45_he0_ve0_hs0_vs0_2007-03-25_11-46-52'; 
                                      'C1G45_he0_ve0_hs0_vs0_2007-03-25_11-46-52'; 
                                      'C1G45_he0_ve0_hs0_vs0_2007-03-25_11-46-52']);
            end
        elseif (gap < 0.5*(50 + 60))
             if strcmp(corName, 'CHE')
                fnMeasMain = cellstr(['C1G50_he-10_ve0_hs0_vs0_2007-03-25_11-49-56';
                                      'C1G50_he-5_ve0_hs0_vs0_2007-03-25_11-50-15 ';
                                      'C1G50_he0_ve0_hs0_vs0_2007-03-25_11-50-33  ';
                                      'C1G50_he5_ve0_hs0_vs0_2007-03-25_11-50-52  ';
                                      'C1G50_he10_ve0_hs0_vs0_2007-03-25_11-51-11 ']);
                fnMeasBkgr = cellstr(['C1G50_he0_ve0_hs0_vs0_2007-03-25_11-50-33'; 
                                      'C1G50_he0_ve0_hs0_vs0_2007-03-25_11-50-33'; 
                                      'C1G50_he0_ve0_hs0_vs0_2007-03-25_11-50-33'; 
                                      'C1G50_he0_ve0_hs0_vs0_2007-03-25_11-50-33'; 
                                      'C1G50_he0_ve0_hs0_vs0_2007-03-25_11-50-33']);
            elseif strcmp(corName, 'CVE')
                fnMeasMain = cellstr(['C1G50_he0_ve-10_hs0_vs0_2007-03-25_11-51-33';
                                      'C1G50_he0_ve-5_hs0_vs0_2007-03-25_11-51-52 ';
                                      'C1G50_he0_ve0_hs0_vs0_2007-03-25_11-52-10  ';
                                      'C1G50_he0_ve5_hs0_vs0_2007-03-25_11-52-28  ';
                                      'C1G50_he0_ve10_hs0_vs0_2007-03-25_11-52-45 ']);
                fnMeasBkgr = cellstr(['C1G50_he0_ve0_hs0_vs0_2007-03-25_11-52-10'; 
                                      'C1G50_he0_ve0_hs0_vs0_2007-03-25_11-52-10'; 
                                      'C1G50_he0_ve0_hs0_vs0_2007-03-25_11-52-10'; 
                                      'C1G50_he0_ve0_hs0_vs0_2007-03-25_11-52-10'; 
                                      'C1G50_he0_ve0_hs0_vs0_2007-03-25_11-52-10']);
            elseif strcmp(corName, 'CHS')
                fnMeasMain = cellstr(['C1G50_he0_ve0_hs-10_vs0_2007-03-25_11-53-05';
                                      'C1G50_he0_ve0_hs-5_vs0_2007-03-25_11-53-23 ';
                                      'C1G50_he0_ve0_hs0_vs0_2007-03-25_11-53-42  ';
                                      'C1G50_he0_ve0_hs5_vs0_2007-03-25_11-54-00  ';
                                      'C1G50_he0_ve0_hs10_vs0_2007-03-25_11-54-19 ']);
                fnMeasBkgr = cellstr(['C1G50_he0_ve0_hs0_vs0_2007-03-25_11-53-42'; 
                                      'C1G50_he0_ve0_hs0_vs0_2007-03-25_11-53-42'; 
                                      'C1G50_he0_ve0_hs0_vs0_2007-03-25_11-53-42'; 
                                      'C1G50_he0_ve0_hs0_vs0_2007-03-25_11-53-42'; 
                                      'C1G50_he0_ve0_hs0_vs0_2007-03-25_11-53-42']);
            elseif strcmp(corName, 'CVS')
                fnMeasMain = cellstr(['C1G50_he0_ve0_hs0_vs-10_2007-03-25_11-54-41';
                                      'C1G50_he0_ve0_hs0_vs-5_2007-03-25_11-54-59 ';
                                      'C1G50_he0_ve0_hs0_vs0_2007-03-25_11-55-18  ';
                                      'C1G50_he0_ve0_hs0_vs5_2007-03-25_11-55-36  ';
                                      'C1G50_he0_ve0_hs0_vs10_2007-03-25_11-55-55 ']);
                fnMeasBkgr = cellstr(['C1G50_he0_ve0_hs0_vs0_2007-03-25_11-55-18'; 
                                      'C1G50_he0_ve0_hs0_vs0_2007-03-25_11-55-18'; 
                                      'C1G50_he0_ve0_hs0_vs0_2007-03-25_11-55-18'; 
                                      'C1G50_he0_ve0_hs0_vs0_2007-03-25_11-55-18'; 
                                      'C1G50_he0_ve0_hs0_vs0_2007-03-25_11-55-18']);
            end
        elseif (gap < 0.5*(60 + 70))
             if strcmp(corName, 'CHE')
                fnMeasMain = cellstr(['C1G60_he-10_ve0_hs0_vs0_2007-03-25_12-00-45';
                                      'C1G60_he-5_ve0_hs0_vs0_2007-03-25_12-01-04 ';
                                      'C1G60_he0_ve0_hs0_vs0_2007-03-25_12-01-22  ';
                                      'C1G60_he5_ve0_hs0_vs0_2007-03-25_12-01-41  ';
                                      'C1G60_he10_ve0_hs0_vs0_2007-03-25_12-01-59 ']);
                fnMeasBkgr = cellstr(['C1G60_he0_ve0_hs0_vs0_2007-03-25_12-01-22'; 
                                      'C1G60_he0_ve0_hs0_vs0_2007-03-25_12-01-22'; 
                                      'C1G60_he0_ve0_hs0_vs0_2007-03-25_12-01-22'; 
                                      'C1G60_he0_ve0_hs0_vs0_2007-03-25_12-01-22'; 
                                      'C1G60_he0_ve0_hs0_vs0_2007-03-25_12-01-22']);
            elseif strcmp(corName, 'CVE')
                fnMeasMain = cellstr(['C1G60_he0_ve-10_hs0_vs0_2007-03-25_12-02-21';
                                      'C1G60_he0_ve-5_hs0_vs0_2007-03-25_12-02-39 ';
                                      'C1G60_he0_ve0_hs0_vs0_2007-03-25_12-02-58  ';
                                      'C1G60_he0_ve5_hs0_vs0_2007-03-25_12-03-16  ';
                                      'C1G60_he0_ve10_hs0_vs0_2007-03-25_12-03-34 ']);
                fnMeasBkgr = cellstr(['C1G60_he0_ve0_hs0_vs0_2007-03-25_12-02-58'; 
                                      'C1G60_he0_ve0_hs0_vs0_2007-03-25_12-02-58'; 
                                      'C1G60_he0_ve0_hs0_vs0_2007-03-25_12-02-58'; 
                                      'C1G60_he0_ve0_hs0_vs0_2007-03-25_12-02-58'; 
                                      'C1G60_he0_ve0_hs0_vs0_2007-03-25_12-02-58']);
            elseif strcmp(corName, 'CHS')
                fnMeasMain = cellstr(['C1G60_he0_ve0_hs-10_vs0_2007-03-25_12-03-54';
                                      'C1G60_he0_ve0_hs-5_vs0_2007-03-25_12-04-12 ';
                                      'C1G60_he0_ve0_hs0_vs0_2007-03-25_12-04-30  ';
                                      'C1G60_he0_ve0_hs5_vs0_2007-03-25_12-04-47  ';
                                      'C1G60_he0_ve0_hs10_vs0_2007-03-25_12-05-06 ']);
                 fnMeasBkgr = cellstr(['C1G60_he0_ve0_hs0_vs0_2007-03-25_12-04-30'; 
                                       'C1G60_he0_ve0_hs0_vs0_2007-03-25_12-04-30'; 
                                       'C1G60_he0_ve0_hs0_vs0_2007-03-25_12-04-30'; 
                                       'C1G60_he0_ve0_hs0_vs0_2007-03-25_12-04-30'; 
                                       'C1G60_he0_ve0_hs0_vs0_2007-03-25_12-04-30']);
            elseif strcmp(corName, 'CVS')
                fnMeasMain = cellstr(['C1G60_he0_ve0_hs0_vs-10_2007-03-25_12-05-27';
                                      'C1G60_he0_ve0_hs0_vs-5_2007-03-25_12-05-46 ';
                                      'C1G60_he0_ve0_hs0_vs0_2007-03-25_12-06-04  ';
                                      'C1G60_he0_ve0_hs0_vs5_2007-03-25_12-06-23  ';
                                      'C1G60_he0_ve0_hs0_vs10_2007-03-25_12-06-41 ']);
                fnMeasBkgr = cellstr(['C1G60_he0_ve0_hs0_vs0_2007-03-25_12-06-04'; 
                                      'C1G60_he0_ve0_hs0_vs0_2007-03-25_12-06-04'; 
                                      'C1G60_he0_ve0_hs0_vs0_2007-03-25_12-06-04'; 
                                      'C1G60_he0_ve0_hs0_vs0_2007-03-25_12-06-04'; 
                                      'C1G60_he0_ve0_hs0_vs0_2007-03-25_12-06-04']);
            end
        elseif (gap < 0.5*(70 + 80))
            if strcmp(corName, 'CHE')
                fnMeasMain = cellstr(['C1G70_he-10_ve0_hs0_vs0_2007-03-25_12-09-28';
                                      'C1G70_he-5_ve0_hs0_vs0_2007-03-25_12-09-46 ';
                                      'C1G70_he0_ve0_hs0_vs0_2007-03-25_12-10-05  ';
                                      'C1G70_he5_ve0_hs0_vs0_2007-03-25_12-10-24  ';
                                      'C1G70_he10_ve0_hs0_vs0_2007-03-25_12-10-42 ']);
                fnMeasBkgr = cellstr(['C1G70_he0_ve0_hs0_vs0_2007-03-25_12-10-05'; 
                                      'C1G70_he0_ve0_hs0_vs0_2007-03-25_12-10-05'; 
                                      'C1G70_he0_ve0_hs0_vs0_2007-03-25_12-10-05'; 
                                      'C1G70_he0_ve0_hs0_vs0_2007-03-25_12-10-05'; 
                                      'C1G70_he0_ve0_hs0_vs0_2007-03-25_12-10-05']);
            elseif strcmp(corName, 'CVE')
                fnMeasMain = cellstr(['C1G70_he0_ve-10_hs0_vs0_2007-03-25_12-11-05';
                                      'C1G70_he0_ve-5_hs0_vs0_2007-03-25_12-11-23 ';
                                      'C1G70_he0_ve0_hs0_vs0_2007-03-25_12-11-42  ';
                                      'C1G70_he0_ve5_hs0_vs0_2007-03-25_12-12-00  ';
                                      'C1G70_he0_ve10_hs0_vs0_2007-03-25_12-12-19 ']);
                fnMeasBkgr = cellstr(['C1G70_he0_ve0_hs0_vs0_2007-03-25_12-11-42'; 
                                      'C1G70_he0_ve0_hs0_vs0_2007-03-25_12-11-42'; 
                                      'C1G70_he0_ve0_hs0_vs0_2007-03-25_12-11-42'; 
                                      'C1G70_he0_ve0_hs0_vs0_2007-03-25_12-11-42'; 
                                      'C1G70_he0_ve0_hs0_vs0_2007-03-25_12-11-42']);
            elseif strcmp(corName, 'CHS')
                fnMeasMain = cellstr(['C1G70_he0_ve0_hs-10_vs0_2007-03-25_12-12-39';
                                      'C1G70_he0_ve0_hs-5_vs0_2007-03-25_12-12-58 ';
                                      'C1G70_he0_ve0_hs0_vs0_2007-03-25_12-13-17  ';
                                      'C1G70_he0_ve0_hs5_vs0_2007-03-25_12-13-34  ';
                                      'C1G70_he0_ve0_hs10_vs0_2007-03-25_12-13-52 ']);
                fnMeasBkgr = cellstr(['C1G70_he0_ve0_hs0_vs0_2007-03-25_12-13-17'; 
                                      'C1G70_he0_ve0_hs0_vs0_2007-03-25_12-13-17'; 
                                      'C1G70_he0_ve0_hs0_vs0_2007-03-25_12-13-17'; 
                                      'C1G70_he0_ve0_hs0_vs0_2007-03-25_12-13-17'; 
                                      'C1G70_he0_ve0_hs0_vs0_2007-03-25_12-13-17']);
            elseif strcmp(corName, 'CVS')
                fnMeasMain = cellstr(['C1G70_he0_ve0_hs0_vs-10_2007-03-25_12-14-15';
                                      'C1G70_he0_ve0_hs0_vs-5_2007-03-25_12-14-33 ';
                                      'C1G70_he0_ve0_hs0_vs0_2007-03-25_12-14-52  ';
                                      'C1G70_he0_ve0_hs0_vs5_2007-03-25_12-15-09  ';
                                      'C1G70_he0_ve0_hs0_vs10_2007-03-25_12-15-27 ']);
                fnMeasBkgr = cellstr(['C1G70_he0_ve0_hs0_vs0_2007-03-25_12-14-52'; 
                                      'C1G70_he0_ve0_hs0_vs0_2007-03-25_12-14-52'; 
                                      'C1G70_he0_ve0_hs0_vs0_2007-03-25_12-14-52'; 
                                      'C1G70_he0_ve0_hs0_vs0_2007-03-25_12-14-52'; 
                                      'C1G70_he0_ve0_hs0_vs0_2007-03-25_12-14-52']);
            end
        elseif (gap < 0.5*(80 + 90))
             if strcmp(corName, 'CHE')
                fnMeasMain = cellstr(['C1G80_he-10_ve0_hs0_vs0_2007-03-25_12-20-26';
                                      'C1G80_he-5_ve0_hs0_vs0_2007-03-25_12-20-45 ';
                                      'C1G80_he0_ve0_hs0_vs0_2007-03-25_12-21-03  ';
                                      'C1G80_he5_ve0_hs0_vs0_2007-03-25_12-21-22  ';
                                      'C1G80_he10_ve0_hs0_vs0_2007-03-25_12-21-40 ']);
                fnMeasBkgr = cellstr(['C1G80_he0_ve0_hs0_vs0_2007-03-25_12-21-03'; 
                                      'C1G80_he0_ve0_hs0_vs0_2007-03-25_12-21-03'; 
                                      'C1G80_he0_ve0_hs0_vs0_2007-03-25_12-21-03'; 
                                      'C1G80_he0_ve0_hs0_vs0_2007-03-25_12-21-03'; 
                                      'C1G80_he0_ve0_hs0_vs0_2007-03-25_12-21-03']);
            elseif strcmp(corName, 'CVE')
                fnMeasMain = cellstr(['C1G80_he0_ve-10_hs0_vs0_2007-03-25_12-22-02';
                                      'C1G80_he0_ve-5_hs0_vs0_2007-03-25_12-22-20 ';
                                      'C1G80_he0_ve0_hs0_vs0_2007-03-25_12-22-39  ';
                                      'C1G80_he0_ve5_hs0_vs0_2007-03-25_12-22-57  ';
                                      'C1G80_he0_ve10_hs0_vs0_2007-03-25_12-23-16 ']);
                fnMeasBkgr = cellstr(['C1G80_he0_ve0_hs0_vs0_2007-03-25_12-22-39'; 
                                      'C1G80_he0_ve0_hs0_vs0_2007-03-25_12-22-39'; 
                                      'C1G80_he0_ve0_hs0_vs0_2007-03-25_12-22-39'; 
                                      'C1G80_he0_ve0_hs0_vs0_2007-03-25_12-22-39'; 
                                      'C1G80_he0_ve0_hs0_vs0_2007-03-25_12-22-39']);
            elseif strcmp(corName, 'CHS')
                fnMeasMain = cellstr(['C1G80_he0_ve0_hs-10_vs0_2007-03-25_12-23-35';
                                      'C1G80_he0_ve0_hs-5_vs0_2007-03-25_12-23-53 ';
                                      'C1G80_he0_ve0_hs0_vs0_2007-03-25_12-24-10  ';
                                      'C1G80_he0_ve0_hs5_vs0_2007-03-25_12-24-28  ';
                                      'C1G80_he0_ve0_hs10_vs0_2007-03-25_12-24-47 ']);
                fnMeasBkgr = cellstr(['C1G80_he0_ve0_hs0_vs0_2007-03-25_12-24-10'; 
                                      'C1G80_he0_ve0_hs0_vs0_2007-03-25_12-24-10'; 
                                      'C1G80_he0_ve0_hs0_vs0_2007-03-25_12-24-10'; 
                                      'C1G80_he0_ve0_hs0_vs0_2007-03-25_12-24-10'; 
                                      'C1G80_he0_ve0_hs0_vs0_2007-03-25_12-24-10']);
            elseif strcmp(corName, 'CVS')
                fnMeasMain = cellstr(['C1G80_he0_ve0_hs0_vs-10_2007-03-25_12-25-09';
                                      'C1G80_he0_ve0_hs0_vs-5_2007-03-25_12-25-27 ';
                                      'C1G80_he0_ve0_hs0_vs0_2007-03-25_12-25-45  ';
                                      'C1G80_he0_ve0_hs0_vs5_2007-03-25_12-26-03  ';
                                      'C1G80_he0_ve0_hs0_vs10_2007-03-25_12-26-21 ']);
                fnMeasBkgr = cellstr(['C1G80_he0_ve0_hs0_vs0_2007-03-25_12-25-45'; 
                                      'C1G80_he0_ve0_hs0_vs0_2007-03-25_12-25-45'; 
                                      'C1G80_he0_ve0_hs0_vs0_2007-03-25_12-25-45'; 
                                      'C1G80_he0_ve0_hs0_vs0_2007-03-25_12-25-45'; 
                                      'C1G80_he0_ve0_hs0_vs0_2007-03-25_12-25-45']);
            end
        elseif (gap < 0.5*(90 + 100))
             if strcmp(corName, 'CHE')
                fnMeasMain = cellstr(['C1G90_he-10_ve0_hs0_vs0_2007-03-25_12-28-21';
                                      'C1G90_he-5_ve0_hs0_vs0_2007-03-25_12-28-39 ';
                                      'C1G90_he0_ve0_hs0_vs0_2007-03-25_12-28-58  ';
                                      'C1G90_he5_ve0_hs0_vs0_2007-03-25_12-29-16  ';
                                      'C1G90_he10_ve0_hs0_vs0_2007-03-25_12-29-35 ']);
                fnMeasBkgr = cellstr(['C1G90_he0_ve0_hs0_vs0_2007-03-25_12-28-58'; 
                                      'C1G90_he0_ve0_hs0_vs0_2007-03-25_12-28-58'; 
                                      'C1G90_he0_ve0_hs0_vs0_2007-03-25_12-28-58'; 
                                      'C1G90_he0_ve0_hs0_vs0_2007-03-25_12-28-58'; 
                                      'C1G90_he0_ve0_hs0_vs0_2007-03-25_12-28-58']);
            elseif strcmp(corName, 'CVE')
                fnMeasMain = cellstr(['C1G90_he0_ve-10_hs0_vs0_2007-03-25_12-29-56';
                                      'C1G90_he0_ve-5_hs0_vs0_2007-03-25_12-30-15 ';
                                      'C1G90_he0_ve0_hs0_vs0_2007-03-25_12-30-33  ';
                                      'C1G90_he0_ve5_hs0_vs0_2007-03-25_12-30-52  ';
                                      'C1G90_he0_ve10_hs0_vs0_2007-03-25_12-31-10 ']);
                fnMeasBkgr = cellstr(['C1G90_he0_ve0_hs0_vs0_2007-03-25_12-30-33'; 
                                      'C1G90_he0_ve0_hs0_vs0_2007-03-25_12-30-33'; 
                                      'C1G90_he0_ve0_hs0_vs0_2007-03-25_12-30-33'; 
                                      'C1G90_he0_ve0_hs0_vs0_2007-03-25_12-30-33'; 
                                      'C1G90_he0_ve0_hs0_vs0_2007-03-25_12-30-33']);
            elseif strcmp(corName, 'CHS')
                fnMeasMain = cellstr(['C1G90_he0_ve0_hs-10_vs0_2007-03-25_12-31-30';
                                      'C1G90_he0_ve0_hs-5_vs0_2007-03-25_12-31-48 ';
                                      'C1G90_he0_ve0_hs0_vs0_2007-03-25_12-32-05  ';
                                      'C1G90_he0_ve0_hs5_vs0_2007-03-25_12-32-23  ';
                                      'C1G90_he0_ve0_hs10_vs0_2007-03-25_12-32-41 ']);
                fnMeasBkgr = cellstr(['C1G90_he0_ve0_hs0_vs0_2007-03-25_12-32-05'; 
                                      'C1G90_he0_ve0_hs0_vs0_2007-03-25_12-32-05'; 
                                      'C1G90_he0_ve0_hs0_vs0_2007-03-25_12-32-05'; 
                                      'C1G90_he0_ve0_hs0_vs0_2007-03-25_12-32-05'; 
                                      'C1G90_he0_ve0_hs0_vs0_2007-03-25_12-32-05']);
            elseif strcmp(corName, 'CVS')
                fnMeasMain = cellstr(['C1G90_he0_ve0_hs0_vs-10_2007-03-25_12-33-04';
                                      'C1G90_he0_ve0_hs0_vs-5_2007-03-25_12-33-22 ';
                                      'C1G90_he0_ve0_hs0_vs0_2007-03-25_12-33-40  ';
                                      'C1G90_he0_ve0_hs0_vs5_2007-03-25_12-33-57  ';
                                      'C1G90_he0_ve0_hs0_vs10_2007-03-25_12-34-16 ']);
                fnMeasBkgr = cellstr(['C1G90_he0_ve0_hs0_vs0_2007-03-25_12-33-40'; 
                                      'C1G90_he0_ve0_hs0_vs0_2007-03-25_12-33-40'; 
                                      'C1G90_he0_ve0_hs0_vs0_2007-03-25_12-33-40'; 
                                      'C1G90_he0_ve0_hs0_vs0_2007-03-25_12-33-40'; 
                                      'C1G90_he0_ve0_hs0_vs0_2007-03-25_12-33-40']);
            end
        elseif (gap < 0.5*(100 + 110))
             if strcmp(corName, 'CHE')
                fnMeasMain = cellstr(['C1G100_he-10_ve0_hs0_vs0_2007-03-25_12-36-41';
                                      'C1G100_he-5_ve0_hs0_vs0_2007-03-25_12-36-59 ';
                                      'C1G100_he0_ve0_hs0_vs0_2007-03-25_12-37-18  ';
                                      'C1G100_he5_ve0_hs0_vs0_2007-03-25_12-37-37  ';
                                      'C1G100_he10_ve0_hs0_vs0_2007-03-25_12-37-55 ']);
                fnMeasBkgr = cellstr(['C1G100_he0_ve0_hs0_vs0_2007-03-25_12-37-18'; 
                                      'C1G100_he0_ve0_hs0_vs0_2007-03-25_12-37-18'; 
                                      'C1G100_he0_ve0_hs0_vs0_2007-03-25_12-37-18'; 
                                      'C1G100_he0_ve0_hs0_vs0_2007-03-25_12-37-18'; 
                                      'C1G100_he0_ve0_hs0_vs0_2007-03-25_12-37-18']);
            elseif strcmp(corName, 'CVE')
                fnMeasMain = cellstr(['C1G100_he0_ve-10_hs0_vs0_2007-03-25_12-38-18';
                                      'C1G100_he0_ve-5_hs0_vs0_2007-03-25_12-38-36 ';
                                      'C1G100_he0_ve0_hs0_vs0_2007-03-25_12-38-55  ';
                                      'C1G100_he0_ve5_hs0_vs0_2007-03-25_12-39-12  ';
                                      'C1G100_he0_ve10_hs0_vs0_2007-03-25_12-39-31 ']);
                fnMeasBkgr = cellstr(['C1G100_he0_ve0_hs0_vs0_2007-03-25_12-38-55'; 
                                      'C1G100_he0_ve0_hs0_vs0_2007-03-25_12-38-55'; 
                                      'C1G100_he0_ve0_hs0_vs0_2007-03-25_12-38-55'; 
                                      'C1G100_he0_ve0_hs0_vs0_2007-03-25_12-38-55'; 
                                      'C1G100_he0_ve0_hs0_vs0_2007-03-25_12-38-55']);
            elseif strcmp(corName, 'CHS')
                fnMeasMain = cellstr(['C1G100_he0_ve0_hs-10_vs0_2007-03-25_12-39-50';
                                      'C1G100_he0_ve0_hs-5_vs0_2007-03-25_12-40-09 ';
                                      'C1G100_he0_ve0_hs0_vs0_2007-03-25_12-40-26  ';
                                      'C1G100_he0_ve0_hs5_vs0_2007-03-25_12-40-44  ';
                                      'C1G100_he0_ve0_hs10_vs0_2007-03-25_12-41-01 ']);
                fnMeasBkgr = cellstr(['C1G100_he0_ve0_hs0_vs0_2007-03-25_12-40-26'; 
                                      'C1G100_he0_ve0_hs0_vs0_2007-03-25_12-40-26'; 
                                      'C1G100_he0_ve0_hs0_vs0_2007-03-25_12-40-26'; 
                                      'C1G100_he0_ve0_hs0_vs0_2007-03-25_12-40-26'; 
                                      'C1G100_he0_ve0_hs0_vs0_2007-03-25_12-40-26']);
            elseif strcmp(corName, 'CVS')
                fnMeasMain = cellstr(['C1G100_he0_ve0_hs0_vs-10_2007-03-25_12-41-24';
                                      'C1G100_he0_ve0_hs0_vs-5_2007-03-25_12-41-42 ';
                                      'C1G100_he0_ve0_hs0_vs0_2007-03-25_12-42-01  ';
                                      'C1G100_he0_ve0_hs0_vs5_2007-03-25_12-42-20  ';
                                      'C1G100_he0_ve0_hs0_vs10_2007-03-25_12-42-38 ']);
                fnMeasBkgr = cellstr(['C1G100_he0_ve0_hs0_vs0_2007-03-25_12-42-01'; 
                                      'C1G100_he0_ve0_hs0_vs0_2007-03-25_12-42-01'; 
                                      'C1G100_he0_ve0_hs0_vs0_2007-03-25_12-42-01'; 
                                      'C1G100_he0_ve0_hs0_vs0_2007-03-25_12-42-01'; 
                                      'C1G100_he0_ve0_hs0_vs0_2007-03-25_12-42-01']);
            end
        elseif (gap < 0.5*(110 + 120))
             if strcmp(corName, 'CHE')
                fnMeasMain = cellstr(['C1G110_he-10_ve0_hs0_vs0_2007-03-25_12-44-51';
                                      'C1G110_he-5_ve0_hs0_vs0_2007-03-25_12-45-10 ';
                                      'C1G110_he0_ve0_hs0_vs0_2007-03-25_12-45-29  ';
                                      'C1G110_he5_ve0_hs0_vs0_2007-03-25_12-45-48  ';
                                      'C1G110_he10_ve0_hs0_vs0_2007-03-25_12-46-06 ']);
                fnMeasBkgr = cellstr(['C1G110_he0_ve0_hs0_vs0_2007-03-25_12-45-29'; 
                                      'C1G110_he0_ve0_hs0_vs0_2007-03-25_12-45-29'; 
                                      'C1G110_he0_ve0_hs0_vs0_2007-03-25_12-45-29'; 
                                      'C1G110_he0_ve0_hs0_vs0_2007-03-25_12-45-29'; 
                                      'C1G110_he0_ve0_hs0_vs0_2007-03-25_12-45-29']);
            elseif strcmp(corName, 'CVE')
                fnMeasMain = cellstr(['C1G110_he0_ve-10_hs0_vs0_2007-03-25_12-46-28';
                                      'C1G110_he0_ve-5_hs0_vs0_2007-03-25_12-46-46 ';
                                      'C1G110_he0_ve0_hs0_vs0_2007-03-25_12-47-04  ';
                                      'C1G110_he0_ve5_hs0_vs0_2007-03-25_12-47-23  ';
                                      'C1G110_he0_ve10_hs0_vs0_2007-03-25_12-47-41 ']);
                fnMeasBkgr = cellstr(['C1G110_he0_ve0_hs0_vs0_2007-03-25_12-47-04'; 
                                      'C1G110_he0_ve0_hs0_vs0_2007-03-25_12-47-04'; 
                                      'C1G110_he0_ve0_hs0_vs0_2007-03-25_12-47-04'; 
                                      'C1G110_he0_ve0_hs0_vs0_2007-03-25_12-47-04'; 
                                      'C1G110_he0_ve0_hs0_vs0_2007-03-25_12-47-04']);
            elseif strcmp(corName, 'CHS')
                fnMeasMain = cellstr(['C1G110_he0_ve0_hs-10_vs0_2007-03-25_12-48-01';
                                      'C1G110_he0_ve0_hs-5_vs0_2007-03-25_12-48-20 ';
                                      'C1G110_he0_ve0_hs0_vs0_2007-03-25_12-47-04  ';
                                      'C1G110_he0_ve0_hs5_vs0_2007-03-25_12-48-56  ';
                                      'C1G110_he0_ve0_hs10_vs0_2007-03-25_12-49-13 ']);
                fnMeasBkgr = cellstr(['C1G110_he0_ve0_hs0_vs0_2007-03-25_12-47-04'; 
                                      'C1G110_he0_ve0_hs0_vs0_2007-03-25_12-47-04'; 
                                      'C1G110_he0_ve0_hs0_vs0_2007-03-25_12-47-04'; 
                                      'C1G110_he0_ve0_hs0_vs0_2007-03-25_12-47-04'; 
                                      'C1G110_he0_ve0_hs0_vs0_2007-03-25_12-47-04']);
            elseif strcmp(corName, 'CVS')
                fnMeasMain = cellstr(['C1G110_he0_ve0_hs0_vs-10_2007-03-25_12-49-35';
                                      'C1G110_he0_ve0_hs0_vs-5_2007-03-25_12-49-54 ';
                                      'C1G110_he0_ve0_hs0_vs0_2007-03-25_12-50-13  ';
                                      'C1G110_he0_ve0_hs0_vs5_2007-03-25_12-50-32  ';
                                      'C1G110_he0_ve0_hs0_vs10_2007-03-25_12-50-50 ']);
                fnMeasBkgr = cellstr(['C1G110_he0_ve0_hs0_vs0_2007-03-25_12-50-13'; 
                                      'C1G110_he0_ve0_hs0_vs0_2007-03-25_12-50-13'; 
                                      'C1G110_he0_ve0_hs0_vs0_2007-03-25_12-50-13'; 
                                      'C1G110_he0_ve0_hs0_vs0_2007-03-25_12-50-13'; 
                                      'C1G110_he0_ve0_hs0_vs0_2007-03-25_12-50-13']);
            end
        elseif (gap < 0.5*(120 + 130))
            if strcmp(corName, 'CHE')
                fnMeasMain = cellstr(['C1G120_he-10_ve0_hs0_vs0_2007-03-25_12-52-30';
                                      'C1G120_he-5_ve0_hs0_vs0_2007-03-25_12-52-49 ';
                                      'C1G120_he0_ve0_hs0_vs0_2007-03-25_12-53-07  ';
                                      'C1G120_he5_ve0_hs0_vs0_2007-03-25_12-53-27  ';
                                      'C1G120_he10_ve0_hs0_vs0_2007-03-25_12-53-46 ']);
                fnMeasBkgr = cellstr(['C1G120_he0_ve0_hs0_vs0_2007-03-25_12-53-07'; 
                                      'C1G120_he0_ve0_hs0_vs0_2007-03-25_12-53-07'; 
                                      'C1G120_he0_ve0_hs0_vs0_2007-03-25_12-53-07'; 
                                      'C1G120_he0_ve0_hs0_vs0_2007-03-25_12-53-07'; 
                                      'C1G120_he0_ve0_hs0_vs0_2007-03-25_12-53-07']);
            elseif strcmp(corName, 'CVE')
                fnMeasMain = cellstr(['C1G120_he0_ve-10_hs0_vs0_2007-03-25_12-54-07';
                                      'C1G120_he0_ve-5_hs0_vs0_2007-03-25_12-54-26 ';
                                      'C1G120_he0_ve0_hs0_vs0_2007-03-25_12-54-44  ';
                                      'C1G120_he0_ve5_hs0_vs0_2007-03-25_12-55-03  ';
                                      'C1G120_he0_ve10_hs0_vs0_2007-03-25_12-55-21 ']);
                fnMeasBkgr = cellstr(['C1G120_he0_ve0_hs0_vs0_2007-03-25_12-54-44'; 
                                      'C1G120_he0_ve0_hs0_vs0_2007-03-25_12-54-44'; 
                                      'C1G120_he0_ve0_hs0_vs0_2007-03-25_12-54-44'; 
                                      'C1G120_he0_ve0_hs0_vs0_2007-03-25_12-54-44'; 
                                      'C1G120_he0_ve0_hs0_vs0_2007-03-25_12-54-44']);
            elseif strcmp(corName, 'CHS')
                fnMeasMain = cellstr(['C1G120_he0_ve0_hs-10_vs0_2007-03-25_12-55-41';
                                      'C1G120_he0_ve0_hs-5_vs0_2007-03-25_12-55-59 ';
                                      'C1G120_he0_ve0_hs0_vs0_2007-03-25_12-56-18  ';
                                      'C1G120_he0_ve0_hs5_vs0_2007-03-25_12-56-36  ';
                                      'C1G120_he0_ve0_hs10_vs0_2007-03-25_12-56-54 ']);
                fnMeasBkgr = cellstr(['C1G120_he0_ve0_hs0_vs0_2007-03-25_12-56-18'; 
                                      'C1G120_he0_ve0_hs0_vs0_2007-03-25_12-56-18'; 
                                      'C1G120_he0_ve0_hs0_vs0_2007-03-25_12-56-18'; 
                                      'C1G120_he0_ve0_hs0_vs0_2007-03-25_12-56-18'; 
                                      'C1G120_he0_ve0_hs0_vs0_2007-03-25_12-56-18']);
            elseif strcmp(corName, 'CVS')
                fnMeasMain = cellstr(['C1G120_he0_ve0_hs0_vs-10_2007-03-25_12-57-16';
                                      'C1G120_he0_ve0_hs0_vs-5_2007-03-25_12-57-34 ';
                                      'C1G120_he0_ve0_hs0_vs0_2007-03-25_12-57-53  ';
                                      'C1G120_he0_ve0_hs0_vs5_2007-03-25_12-58-13  ';
                                      'C1G120_he0_ve0_hs0_vs10_2007-03-25_12-58-31 ']);
                fnMeasBkgr = cellstr(['C1G120_he0_ve0_hs0_vs0_2007-03-25_12-57-53'; 
                                      'C1G120_he0_ve0_hs0_vs0_2007-03-25_12-57-53'; 
                                      'C1G120_he0_ve0_hs0_vs0_2007-03-25_12-57-53'; 
                                      'C1G120_he0_ve0_hs0_vs0_2007-03-25_12-57-53'; 
                                      'C1G120_he0_ve0_hs0_vs0_2007-03-25_12-57-53']);
            end
        elseif (gap < 0.5*(130 + 150))
            if strcmp(corName, 'CHE')
                fnMeasMain = cellstr(['C1G130_he-10_ve0_hs0_vs0_2007-03-25_13-00-11';
                                      'C1G130_he-5_ve0_hs0_vs0_2007-03-25_13-00-30 ';
                                      'C1G130_he0_ve0_hs0_vs0_2007-03-25_13-00-48  ';
                                      'C1G130_he5_ve0_hs0_vs0_2007-03-25_13-01-07  ';
                                      'C1G130_he10_ve0_hs0_vs0_2007-03-25_13-01-25 ']);
                fnMeasBkgr = cellstr(['C1G130_he0_ve0_hs0_vs0_2007-03-25_13-00-48'; 
                                      'C1G130_he0_ve0_hs0_vs0_2007-03-25_13-00-48'; 
                                      'C1G130_he0_ve0_hs0_vs0_2007-03-25_13-00-48'; 
                                      'C1G130_he0_ve0_hs0_vs0_2007-03-25_13-00-48'; 
                                      'C1G130_he0_ve0_hs0_vs0_2007-03-25_13-00-48']);
            elseif strcmp(corName, 'CVE')
                fnMeasMain = cellstr(['C1G130_he0_ve-10_hs0_vs0_2007-03-25_13-01-48';
                                      'C1G130_he0_ve-5_hs0_vs0_2007-03-25_13-02-06 ';
                                      'C1G130_he0_ve0_hs0_vs0_2007-03-25_13-02-25  ';
                                      'C1G130_he0_ve5_hs0_vs0_2007-03-25_13-02-43  ';
                                      'C1G130_he0_ve10_hs0_vs0_2007-03-25_13-03-02 ']);
                fnMeasBkgr = cellstr(['C1G130_he0_ve0_hs0_vs0_2007-03-25_13-02-25'; 
                                      'C1G130_he0_ve0_hs0_vs0_2007-03-25_13-02-25'; 
                                      'C1G130_he0_ve0_hs0_vs0_2007-03-25_13-02-25'; 
                                      'C1G130_he0_ve0_hs0_vs0_2007-03-25_13-02-25'; 
                                      'C1G130_he0_ve0_hs0_vs0_2007-03-25_13-02-25']);
            elseif strcmp(corName, 'CHS')
                fnMeasMain = cellstr(['C1G130_he0_ve0_hs-10_vs0_2007-03-25_13-03-21';
                                      'C1G130_he0_ve0_hs-5_vs0_2007-03-25_13-03-40 ';
                                      'C1G130_he0_ve0_hs0_vs0_2007-03-25_13-03-59  ';
                                      'C1G130_he0_ve0_hs5_vs0_2007-03-25_13-04-16  ';
                                      'C1G130_he0_ve0_hs10_vs0_2007-03-25_13-04-35 ']);
                fnMeasBkgr = cellstr(['C1G130_he0_ve0_hs0_vs0_2007-03-25_13-03-59'; 
                                      'C1G130_he0_ve0_hs0_vs0_2007-03-25_13-03-59'; 
                                      'C1G130_he0_ve0_hs0_vs0_2007-03-25_13-03-59'; 
                                      'C1G130_he0_ve0_hs0_vs0_2007-03-25_13-03-59'; 
                                      'C1G130_he0_ve0_hs0_vs0_2007-03-25_13-03-59']);
            elseif strcmp(corName, 'CVS')
                fnMeasMain = cellstr(['C1G130_he0_ve0_hs0_vs-10_2007-03-25_13-04-57';
                                      'C1G130_he0_ve0_hs0_vs-5_2007-03-25_13-05-15 ';
                                      'C1G130_he0_ve0_hs0_vs0_2007-03-25_13-05-34  ';
                                      'C1G130_he0_ve0_hs0_vs5_2007-03-25_13-05-52  ';
                                      'C1G130_he0_ve0_hs0_vs10_2007-03-25_13-06-11 ']);
                fnMeasBkgr = cellstr(['C1G130_he0_ve0_hs0_vs0_2007-03-25_13-05-34'; 
                                      'C1G130_he0_ve0_hs0_vs0_2007-03-25_13-05-34'; 
                                      'C1G130_he0_ve0_hs0_vs0_2007-03-25_13-05-34'; 
                                      'C1G130_he0_ve0_hs0_vs0_2007-03-25_13-05-34'; 
                                      'C1G130_he0_ve0_hs0_vs0_2007-03-25_13-05-34']);
            end
        elseif (gap < 0.5*(150 + 170))
            if strcmp(corName, 'CHE')
                fnMeasMain = cellstr(['C1G150_he-10_ve0_hs0_vs0_2007-03-25_13-08-03';
                                      'C1G150_he-5_ve0_hs0_vs0_2007-03-25_13-08-21 ';
                                      'C1G150_he0_ve0_hs0_vs0_2007-03-25_13-08-39  ';
                                      'C1G150_he5_ve0_hs0_vs0_2007-03-25_13-08-58  ';
                                      'C1G150_he10_ve0_hs0_vs0_2007-03-25_13-09-16 ']);
                fnMeasBkgr = cellstr(['C1G150_he0_ve0_hs0_vs0_2007-03-25_13-08-39'; 
                                      'C1G150_he0_ve0_hs0_vs0_2007-03-25_13-08-39'; 
                                      'C1G150_he0_ve0_hs0_vs0_2007-03-25_13-08-39'; 
                                      'C1G150_he0_ve0_hs0_vs0_2007-03-25_13-08-39'; 
                                      'C1G150_he0_ve0_hs0_vs0_2007-03-25_13-08-39']);
            elseif strcmp(corName, 'CVE')
                fnMeasMain = cellstr(['C1G150_he0_ve-10_hs0_vs0_2007-03-25_13-09-38';
                                      'C1G150_he0_ve-5_hs0_vs0_2007-03-25_13-09-56 ';
                                      'C1G150_he0_ve0_hs0_vs0_2007-03-25_13-08-39  ';
                                      'C1G150_he0_ve5_hs0_vs0_2007-03-25_13-10-33  ';
                                      'C1G150_he0_ve10_hs0_vs0_2007-03-25_13-10-52 ']);
                fnMeasBkgr = cellstr(['C1G150_he0_ve0_hs0_vs0_2007-03-25_13-08-39'; 
                                      'C1G150_he0_ve0_hs0_vs0_2007-03-25_13-08-39'; 
                                      'C1G150_he0_ve0_hs0_vs0_2007-03-25_13-08-39'; 
                                      'C1G150_he0_ve0_hs0_vs0_2007-03-25_13-08-39'; 
                                      'C1G150_he0_ve0_hs0_vs0_2007-03-25_13-08-39']);
            elseif strcmp(corName, 'CHS')
                fnMeasMain = cellstr(['C1G150_he0_ve0_hs-10_vs0_2007-03-25_13-11-11';
                                      'C1G150_he0_ve0_hs-5_vs0_2007-03-25_13-11-30 ';
                                      'C1G150_he0_ve0_hs0_vs0_2007-03-25_13-11-48  ';
                                      'C1G150_he0_ve0_hs5_vs0_2007-03-25_13-12-07  ';
                                      'C1G150_he0_ve0_hs10_vs0_2007-03-25_13-12-25 ']);
                fnMeasBkgr = cellstr(['C1G150_he0_ve0_hs0_vs0_2007-03-25_13-11-48'; 
                                      'C1G150_he0_ve0_hs0_vs0_2007-03-25_13-11-48'; 
                                      'C1G150_he0_ve0_hs0_vs0_2007-03-25_13-11-48'; 
                                      'C1G150_he0_ve0_hs0_vs0_2007-03-25_13-11-48'; 
                                      'C1G150_he0_ve0_hs0_vs0_2007-03-25_13-11-48']);
            elseif strcmp(corName, 'CVS')
                fnMeasMain = cellstr(['C1G150_he0_ve0_hs0_vs-10_2007-03-25_13-12-47';
                                      'C1G150_he0_ve0_hs0_vs-5_2007-03-25_13-13-01 ';
                                      'C1G150_he0_ve0_hs0_vs0_2007-03-25_13-13-18  ';
                                      'C1G150_he0_ve0_hs0_vs5_2007-03-25_13-13-37  ';
                                      'C1G150_he0_ve0_hs0_vs10_2007-03-25_13-13-54 ']);
                fnMeasBkgr = cellstr(['C1G150_he0_ve0_hs0_vs0_2007-03-25_13-13-18'; 
                                      'C1G150_he0_ve0_hs0_vs0_2007-03-25_13-13-18'; 
                                      'C1G150_he0_ve0_hs0_vs0_2007-03-25_13-13-18'; 
                                      'C1G150_he0_ve0_hs0_vs0_2007-03-25_13-13-18'; 
                                      'C1G150_he0_ve0_hs0_vs0_2007-03-25_13-13-18']);
            end
        elseif (gap < 0.5*(170 + 200))
            if strcmp(corName, 'CHE')
                fnMeasMain = cellstr(['C1G170_he-10_ve0_hs0_vs0_2007-03-25_13-16-49';
                                      'C1G170_he-5_ve0_hs0_vs0_2007-03-25_13-17-08 ';
                                      'C1G170_he0_ve0_hs0_vs0_2007-03-25_13-17-26  ';
                                      'C1G170_he5_ve0_hs0_vs0_2007-03-25_13-17-45  ';
                                      'C1G170_he10_ve0_hs0_vs0_2007-03-25_13-18-03 ']);
                fnMeasBkgr = cellstr(['C1G170_he0_ve0_hs0_vs0_2007-03-25_13-17-26'; 
                                      'C1G170_he0_ve0_hs0_vs0_2007-03-25_13-17-26'; 
                                      'C1G170_he0_ve0_hs0_vs0_2007-03-25_13-17-26'; 
                                      'C1G170_he0_ve0_hs0_vs0_2007-03-25_13-17-26'; 
                                      'C1G170_he0_ve0_hs0_vs0_2007-03-25_13-17-26']);
            elseif strcmp(corName, 'CVE')
                fnMeasMain = cellstr(['C1G170_he0_ve-10_hs0_vs0_2007-03-25_13-18-26';
                                      'C1G170_he0_ve-5_hs0_vs0_2007-03-25_13-18-44 ';
                                      'C1G170_he0_ve0_hs0_vs0_2007-03-25_13-19-03  ';
                                      'C1G170_he0_ve5_hs0_vs0_2007-03-25_13-19-21  ';
                                      'C1G170_he0_ve10_hs0_vs0_2007-03-25_13-19-40 ']);
                fnMeasBkgr = cellstr(['C1G170_he0_ve0_hs0_vs0_2007-03-25_13-19-03'; 
                                      'C1G170_he0_ve0_hs0_vs0_2007-03-25_13-19-03'; 
                                      'C1G170_he0_ve0_hs0_vs0_2007-03-25_13-19-03'; 
                                      'C1G170_he0_ve0_hs0_vs0_2007-03-25_13-19-03'; 
                                      'C1G170_he0_ve0_hs0_vs0_2007-03-25_13-19-03']);
            elseif strcmp(corName, 'CHS')
                fnMeasMain = cellstr(['C1G170_he0_ve0_hs-10_vs0_2007-03-25_13-19-59';
                                      'C1G170_he0_ve0_hs-5_vs0_2007-03-25_13-20-17 ';
                                      'C1G170_he0_ve0_hs0_vs0_2007-03-25_13-20-34  ';
                                      'C1G170_he0_ve0_hs5_vs0_2007-03-25_13-20-53  ';
                                      'C1G170_he0_ve0_hs10_vs0_2007-03-25_13-21-12 ']);
                fnMeasBkgr = cellstr(['C1G170_he0_ve0_hs0_vs0_2007-03-25_13-20-34'; 
                                      'C1G170_he0_ve0_hs0_vs0_2007-03-25_13-20-34'; 
                                      'C1G170_he0_ve0_hs0_vs0_2007-03-25_13-20-34'; 
                                      'C1G170_he0_ve0_hs0_vs0_2007-03-25_13-20-34'; 
                                      'C1G170_he0_ve0_hs0_vs0_2007-03-25_13-20-34']);
            elseif strcmp(corName, 'CVS')
                fnMeasMain = cellstr(['C1G170_he0_ve0_hs0_vs-10_2007-03-25_13-21-33';
                                      'C1G170_he0_ve0_hs0_vs-5_2007-03-25_13-21-52 ';
                                      'C1G170_he0_ve0_hs0_vs0_2007-03-25_13-22-10  ';
                                      'C1G170_he0_ve0_hs0_vs5_2007-03-25_13-22-27  ';
                                      'C1G170_he0_ve0_hs0_vs10_2007-03-25_13-22-46 ']);
                fnMeasBkgr = cellstr(['C1G170_he0_ve0_hs0_vs0_2007-03-25_13-22-10'; 
                                      'C1G170_he0_ve0_hs0_vs0_2007-03-25_13-22-10'; 
                                      'C1G170_he0_ve0_hs0_vs0_2007-03-25_13-22-10'; 
                                      'C1G170_he0_ve0_hs0_vs0_2007-03-25_13-22-10'; 
                                      'C1G170_he0_ve0_hs0_vs0_2007-03-25_13-22-10']);
            end
        elseif (gap >= 0.5*(170 + 200))
            if strcmp(corName, 'CHE')
                fnMeasMain = cellstr(['C1G200_he-10_ve0_hs0_vs0_2007-03-25_13-25-05';
                                      'C1G200_he-5_ve0_hs0_vs0_2007-03-25_13-25-23 ';
                                      'C1G200_he0_ve0_hs0_vs0_2007-03-25_13-25-42  ';
                                      'C1G200_he5_ve0_hs0_vs0_2007-03-25_13-26-00  ';
                                      'C1G200_he10_ve0_hs0_vs0_2007-03-25_13-26-19 ']);
                fnMeasBkgr = cellstr(['C1G200_he0_ve0_hs0_vs0_2007-03-25_13-25-42'; 
                                      'C1G200_he0_ve0_hs0_vs0_2007-03-25_13-25-42'; 
                                      'C1G200_he0_ve0_hs0_vs0_2007-03-25_13-25-42'; 
                                      'C1G200_he0_ve0_hs0_vs0_2007-03-25_13-25-42'; 
                                      'C1G200_he0_ve0_hs0_vs0_2007-03-25_13-25-42']);
            elseif strcmp(corName, 'CVE')
                fnMeasMain = cellstr(['C1G200_he0_ve-10_hs0_vs0_2007-03-25_13-26-41';
                                      'C1G200_he0_ve-5_hs0_vs0_2007-03-25_13-27-00 ';
                                      'C1G200_he0_ve0_hs0_vs0_2007-03-25_13-27-18  ';
                                      'C1G200_he0_ve5_hs0_vs0_2007-03-25_13-27-36  ';
                                      'C1G200_he0_ve10_hs0_vs0_2007-03-25_13-27-54 ']);
                fnMeasBkgr = cellstr(['C1G200_he0_ve0_hs0_vs0_2007-03-25_13-27-18'; 
                                      'C1G200_he0_ve0_hs0_vs0_2007-03-25_13-27-18'; 
                                      'C1G200_he0_ve0_hs0_vs0_2007-03-25_13-27-18'; 
                                      'C1G200_he0_ve0_hs0_vs0_2007-03-25_13-27-18'; 
                                      'C1G200_he0_ve0_hs0_vs0_2007-03-25_13-27-18']);
            elseif strcmp(corName, 'CHS')
                fnMeasMain = cellstr(['C1G200_he0_ve0_hs-10_vs0_2007-03-25_13-28-13';
                                      'C1G200_he0_ve0_hs-5_vs0_2007-03-25_13-28-32 ';
                                      'C1G200_he0_ve0_hs0_vs0_2007-03-25_13-28-51  ';
                                      'C1G200_he0_ve0_hs5_vs0_2007-03-25_13-29-10  ';
                                      'C1G200_he0_ve0_hs10_vs0_2007-03-25_13-29-30 ']);
                fnMeasBkgr = cellstr(['C1G200_he0_ve0_hs0_vs0_2007-03-25_13-28-51'; 
                                      'C1G200_he0_ve0_hs0_vs0_2007-03-25_13-28-51'; 
                                      'C1G200_he0_ve0_hs0_vs0_2007-03-25_13-28-51'; 
                                      'C1G200_he0_ve0_hs0_vs0_2007-03-25_13-28-51'; 
                                      'C1G200_he0_ve0_hs0_vs0_2007-03-25_13-28-51']);
            elseif strcmp(corName, 'CVS')
                fnMeasMain = cellstr(['C1G200_he0_ve0_hs0_vs-10_2007-03-25_13-29-52';
                                      'C1G200_he0_ve0_hs0_vs-5_2007-03-25_13-30-12 ';
                                      'C1G200_he0_ve0_hs0_vs0_2007-03-25_13-30-30  ';
                                      'C1G200_he0_ve0_hs0_vs5_2007-03-25_13-30-49  ';
                                      'C1G200_he0_ve0_hs0_vs10_2007-03-25_13-31-08 ']);
                fnMeasBkgr = cellstr(['C1G200_he0_ve0_hs0_vs0_2007-03-25_13-30-30'; 
                                      'C1G200_he0_ve0_hs0_vs0_2007-03-25_13-30-30'; 
                                      'C1G200_he0_ve0_hs0_vs0_2007-03-25_13-30-30'; 
                                      'C1G200_he0_ve0_hs0_vs0_2007-03-25_13-30-30'; 
                                      'C1G200_he0_ve0_hs0_vs0_2007-03-25_13-30-30']);
            end
        end
    elseif strcmp(idName, 'HU80_TEMPO')
        vCurVals = [-10, -5, 0, 5, 10];
        %if (gap == 15.5)
        if (gap < 0.5*(15.5 + 20))
            if strcmp(corName, 'CHE')
                fnMeasMain = cellstr(['C2G15_5_he-10_ve0_hs0_vs0_2006-10-01_13-23-59'; 
                                      'C2G15_5_he-5_ve0_hs0_vs0_2006-10-01_13-25-02 '; 
                                      'C2G15_5_he0_ve0_hs0_vs0_2006-10-01_13-26-04  '; 
                                      'C2G15_5_he5_ve0_hs0_vs0_2006-10-01_13-27-04  '; 
                                      'C2G15_5_he10_ve0_hs0_vs0_2006-10-01_13-28-07 ']);                                  
                fnMeasBkgr = cellstr(['C2G15_5_he0_ve0_hs0_vs0_2006-10-01_13-22-52  '; 
                                      'C2G15_5_he0_ve0_hs0_vs0_2006-10-01_13-22-52  '; 
                                      'C2G15_5_he0_ve0_hs0_vs0_2006-10-01_13-26-04  '; 
                                      'C2G15_5_he0_ve0_hs0_vs0_2006-10-01_13-26-04  '; 
                                      'C2G15_5_he0_ve0_hs0_vs0_2006-10-01_13-26-04  ']);
            elseif strcmp(corName, 'CVE')
                fnMeasMain = cellstr(['C2G15_5_he0_ve-10_hs0_vs0_2006-10-01_13-30-20'; 
                                      'C2G15_5_he0_ve-5_hs0_vs0_2006-10-01_13-31-23 '; 
                                      'C2G15_5_he0_ve0_hs0_vs0_2006-10-01_13-32-25  '; 
                                      'C2G15_5_he0_ve5_hs0_vs0_2006-10-01_13-33-29  '; 
                                      'C2G15_5_he0_ve10_hs0_vs0_2006-10-01_13-34-31 ']);
                fnMeasBkgr = cellstr(['C2G15_5_he0_ve0_hs0_vs0_2006-10-01_13-32-25'; 
                                      'C2G15_5_he0_ve0_hs0_vs0_2006-10-01_13-32-25'; 
                                      'C2G15_5_he0_ve0_hs0_vs0_2006-10-01_13-32-25'; 
                                      'C2G15_5_he0_ve0_hs0_vs0_2006-10-01_13-32-25'; 
                                      'C2G15_5_he0_ve0_hs0_vs0_2006-10-01_13-32-25']);
            elseif strcmp(corName, 'CHS')
                fnMeasMain = cellstr(['C2G15_5_he0_ve0_hs-10_vs0_2006-10-01_13-36-42'; 
                                      'C2G15_5_he0_ve0_hs-5_vs0_2006-10-01_13-37-37 '; 
                                      'C2G15_5_he0_ve0_hs0_vs0_2006-10-01_13-38-33  '; 
                                      'C2G15_5_he0_ve0_hs5_vs0_2006-10-01_13-39-27  '; 
                                      'C2G15_5_he0_ve0_hs10_vs0_2006-10-01_13-40-23 ']);
                fnMeasBkgr = cellstr(['C2G15_5_he0_ve0_hs0_vs0_2006-10-01_13-38-33'; 
                                      'C2G15_5_he0_ve0_hs0_vs0_2006-10-01_13-38-33'; 
                                      'C2G15_5_he0_ve0_hs0_vs0_2006-10-01_13-38-33'; 
                                      'C2G15_5_he0_ve0_hs0_vs0_2006-10-01_13-38-33'; 
                                      'C2G15_5_he0_ve0_hs0_vs0_2006-10-01_13-38-33']);
            elseif strcmp(corName, 'CVS')
                fnMeasMain = cellstr(['C2G15_5_he0_ve0_hs0_vs-10_2006-10-01_13-42-36'; 
                                      'C2G15_5_he0_ve0_hs0_vs-5_2006-10-01_13-43-30 '; 
                                      'C2G15_5_he0_ve0_hs0_vs0_2006-10-01_13-44-25  '; 
                                      'C2G15_5_he0_ve0_hs0_vs5_2006-10-01_13-45-23  '; 
                                      'C2G15_5_he0_ve0_hs0_vs10_2006-10-01_13-46-18 ']);
                fnMeasBkgr = cellstr(['C2G15_5_he0_ve0_hs0_vs0_2006-10-01_13-44-25'; 
                                      'C2G15_5_he0_ve0_hs0_vs0_2006-10-01_13-44-25'; 
                                      'C2G15_5_he0_ve0_hs0_vs0_2006-10-01_13-44-25'; 
                                      'C2G15_5_he0_ve0_hs0_vs0_2006-10-01_13-44-25'; 
                                      'C2G15_5_he0_ve0_hs0_vs0_2006-10-01_13-44-25']);
            end
        %elseif (gap == 20)
        elseif (gap < 0.5*(20 + 25))
            if strcmp(corName, 'CHE')
                fnMeasMain = cellstr(['C2G20_he-10_ve0_hs0_vs0_2006-10-01_13-58-32'; 
                                      'C2G20_he-5_ve0_hs0_vs0_2006-10-01_13-59-36 '; 
                                      'C2G20_he0_ve0_hs0_vs0_2006-10-01_14-00-40  '; 
                                      'C2G20_he5_ve0_hs0_vs0_2006-10-01_14-01-42  '; 
                                      'C2G20_he10_ve0_hs0_vs0_2006-10-01_14-02-45 ']);
                fnMeasBkgr = cellstr(['C2G20_he0_ve0_hs0_vs0_2006-10-01_14-00-40'; 
                                      'C2G20_he0_ve0_hs0_vs0_2006-10-01_14-00-40'; 
                                      'C2G20_he0_ve0_hs0_vs0_2006-10-01_14-00-40'; 
                                      'C2G20_he0_ve0_hs0_vs0_2006-10-01_14-00-40'; 
                                      'C2G20_he0_ve0_hs0_vs0_2006-10-01_14-00-40']);
            elseif strcmp(corName, 'CVE')
                fnMeasMain = cellstr(['C2G20_he0_ve-10_hs0_vs0_2006-10-01_14-04-58'; 
                                      'C2G20_he0_ve-5_hs0_vs0_2006-10-01_14-06-01 '; 
                                      'C2G20_he0_ve0_hs0_vs0_2006-10-01_14-07-02  '; 
                                      'C2G20_he0_ve5_hs0_vs0_2006-10-01_14-08-06  '; 
                                      'C2G20_he0_ve10_hs0_vs0_2006-10-01_14-09-11 ']);
                fnMeasBkgr = cellstr(['C2G20_he0_ve0_hs0_vs0_2006-10-01_14-07-02'; 
                                      'C2G20_he0_ve0_hs0_vs0_2006-10-01_14-07-02'; 
                                      'C2G20_he0_ve0_hs0_vs0_2006-10-01_14-07-02'; 
                                      'C2G20_he0_ve0_hs0_vs0_2006-10-01_14-07-02'; 
                                      'C2G20_he0_ve0_hs0_vs0_2006-10-01_14-07-02']);
            elseif strcmp(corName, 'CHS')
                fnMeasMain = cellstr(['C2G20_he0_ve0_hs-10_vs0_2006-10-01_14-11-25'; 
                                      'C2G20_he0_ve0_hs-5_vs0_2006-10-01_14-12-18 '; 
                                      'C2G20_he0_ve0_hs0_vs0_2006-10-01_14-13-12  '; 
                                      'C2G20_he0_ve0_hs5_vs0_2006-10-01_14-14-10  '; 
                                      'C2G20_he0_ve0_hs10_vs0_2006-10-01_14-15-03 ']);
                fnMeasBkgr = cellstr(['C2G20_he0_ve0_hs0_vs0_2006-10-01_14-13-12'; 
                                      'C2G20_he0_ve0_hs0_vs0_2006-10-01_14-13-12'; 
                                      'C2G20_he0_ve0_hs0_vs0_2006-10-01_14-13-12'; 
                                      'C2G20_he0_ve0_hs0_vs0_2006-10-01_14-13-12'; 
                                      'C2G20_he0_ve0_hs0_vs0_2006-10-01_14-13-12']);
            elseif strcmp(corName, 'CVS')
                fnMeasMain = cellstr(['C2G20_he0_ve0_hs0_vs-10_2006-10-01_14-17-13'; 
                                      'C2G20_he0_ve0_hs0_vs-5_2006-10-01_14-18-06 '; 
                                      'C2G20_he0_ve0_hs0_vs0_2006-10-01_14-19-00  '; 
                                      'C2G20_he0_ve0_hs0_vs5_2006-10-01_14-19-55  '; 
                                      'C2G20_he0_ve0_hs0_vs10_2006-10-01_14-20-50 ']);
                fnMeasBkgr = cellstr(['C2G20_he0_ve0_hs0_vs0_2006-10-01_14-19-00'; 
                                      'C2G20_he0_ve0_hs0_vs0_2006-10-01_14-19-00'; 
                                      'C2G20_he0_ve0_hs0_vs0_2006-10-01_14-19-00'; 
                                      'C2G20_he0_ve0_hs0_vs0_2006-10-01_14-19-00'; 
                                      'C2G20_he0_ve0_hs0_vs0_2006-10-01_14-19-00']);
            end
        %elseif (gap == 25)
        elseif (gap < 0.5*(25 + 30))
            if strcmp(corName, 'CHE')
                fnMeasMain = cellstr(['C2G25_he-10_ve0_hs0_vs0_2006-10-01_14-24-13'; 
                                      'C2G25_he-5_ve0_hs0_vs0_2006-10-01_14-25-16 '; 
                                      'C2G25_he0_ve0_hs0_vs0_2006-10-01_14-26-19  '; 
                                      'C2G25_he5_ve0_hs0_vs0_2006-10-01_14-27-21  '; 
                                      'C2G25_he10_ve0_hs0_vs0_2006-10-01_14-28-22 ']);
                fnMeasBkgr = cellstr(['C2G25_he0_ve0_hs0_vs0_2006-10-01_14-26-19'; 
                                      'C2G25_he0_ve0_hs0_vs0_2006-10-01_14-26-19'; 
                                      'C2G25_he0_ve0_hs0_vs0_2006-10-01_14-26-19'; 
                                      'C2G25_he0_ve0_hs0_vs0_2006-10-01_14-26-19'; 
                                      'C2G25_he0_ve0_hs0_vs0_2006-10-01_14-26-19']);
            elseif strcmp(corName, 'CVE')
                fnMeasMain = cellstr(['C2G25_he0_ve-10_hs0_vs0_2006-10-01_14-30-36'; 
                                      'C2G25_he0_ve-5_hs0_vs0_2006-10-01_14-31-39 '; 
                                      'C2G25_he0_ve0_hs0_vs0_2006-10-01_14-32-42  '; 
                                      'C2G25_he0_ve5_hs0_vs0_2006-10-01_14-33-45  '; 
                                      'C2G25_he0_ve10_hs0_vs0_2006-10-01_14-34-47 ']);
                fnMeasBkgr = cellstr(['C2G25_he0_ve0_hs0_vs0_2006-10-01_14-32-42'; 
                                      'C2G25_he0_ve0_hs0_vs0_2006-10-01_14-32-42'; 
                                      'C2G25_he0_ve0_hs0_vs0_2006-10-01_14-32-42'; 
                                      'C2G25_he0_ve0_hs0_vs0_2006-10-01_14-32-42'; 
                                      'C2G25_he0_ve0_hs0_vs0_2006-10-01_14-32-42']);
            elseif strcmp(corName, 'CHS')
                fnMeasMain = cellstr(['C2G25_he0_ve0_hs-10_vs0_2006-10-01_14-36-56'; 
                                      'C2G25_he0_ve0_hs-5_vs0_2006-10-01_14-37-52 '; 
                                      'C2G25_he0_ve0_hs0_vs0_2006-10-01_14-38-46  '; 
                                      'C2G25_he0_ve0_hs5_vs0_2006-10-01_14-39-43  '; 
                                      'C2G25_he0_ve0_hs10_vs0_2006-10-01_14-40-39 ']);
                fnMeasBkgr = cellstr(['C2G25_he0_ve0_hs0_vs0_2006-10-01_14-38-46'; 
                                      'C2G25_he0_ve0_hs0_vs0_2006-10-01_14-38-46'; 
                                      'C2G25_he0_ve0_hs0_vs0_2006-10-01_14-38-46'; 
                                      'C2G25_he0_ve0_hs0_vs0_2006-10-01_14-38-46'; 
                                      'C2G25_he0_ve0_hs0_vs0_2006-10-01_14-38-46']);
            elseif strcmp(corName, 'CVS')
                fnMeasMain = cellstr(['C2G25_he0_ve0_hs0_vs-10_2006-10-01_14-42-52'; 
                                      'C2G25_he0_ve0_hs0_vs-5_2006-10-01_14-43-47 '; 
                                      'C2G25_he0_ve0_hs0_vs0_2006-10-01_14-44-41  '; 
                                      'C2G25_he0_ve0_hs0_vs5_2006-10-01_14-45-33  '; 
                                      'C2G25_he0_ve0_hs0_vs10_2006-10-01_14-46-27 ']);
                fnMeasBkgr = cellstr(['C2G25_he0_ve0_hs0_vs0_2006-10-01_14-44-41'; 
                                      'C2G25_he0_ve0_hs0_vs0_2006-10-01_14-44-41'; 
                                      'C2G25_he0_ve0_hs0_vs0_2006-10-01_14-44-41'; 
                                      'C2G25_he0_ve0_hs0_vs0_2006-10-01_14-44-41'; 
                                      'C2G25_he0_ve0_hs0_vs0_2006-10-01_14-44-41']);
            end
        %elseif (gap == 30)
        elseif (gap < 0.5*(30 + 40))
            if strcmp(corName, 'CHE')
                fnMeasMain = cellstr(['C2G30_he-10_ve0_hs0_vs0_2006-10-01_14-49-26'; 
                                      'C2G30_he-5_ve0_hs0_vs0_2006-10-01_14-50-29 '; 
                                      'C2G30_he0_ve0_hs0_vs0_2006-10-01_14-51-32  '; 
                                      'C2G30_he5_ve0_hs0_vs0_2006-10-01_14-52-36  '; 
                                      'C2G30_he10_ve0_hs0_vs0_2006-10-01_14-53-40 ']);
                fnMeasBkgr = cellstr(['C2G30_he0_ve0_hs0_vs0_2006-10-01_14-51-32'; 
                                      'C2G30_he0_ve0_hs0_vs0_2006-10-01_14-51-32'; 
                                      'C2G30_he0_ve0_hs0_vs0_2006-10-01_14-51-32'; 
                                      'C2G30_he0_ve0_hs0_vs0_2006-10-01_14-51-32'; 
                                      'C2G30_he0_ve0_hs0_vs0_2006-10-01_14-51-32']);
            elseif strcmp(corName, 'CVE')
                fnMeasMain = cellstr(['C2G30_he0_ve-10_hs0_vs0_2006-10-01_14-55-58'; 
                                      'C2G30_he0_ve-5_hs0_vs0_2006-10-01_14-57-02 '; 
                                      'C2G30_he0_ve0_hs0_vs0_2006-10-01_14-58-04  '; 
                                      'C2G30_he0_ve5_hs0_vs0_2006-10-01_14-59-08  '; 
                                      'C2G30_he0_ve10_hs0_vs0_2006-10-01_15-00-11 ']);
                fnMeasBkgr = cellstr(['C2G30_he0_ve0_hs0_vs0_2006-10-01_14-58-04'; 
                                      'C2G30_he0_ve0_hs0_vs0_2006-10-01_14-58-04'; 
                                      'C2G30_he0_ve0_hs0_vs0_2006-10-01_14-58-04'; 
                                      'C2G30_he0_ve0_hs0_vs0_2006-10-01_14-58-04'; 
                                      'C2G30_he0_ve0_hs0_vs0_2006-10-01_15-01-17']); %'C2G30_he0_ve0_hs0_vs0_2006-10-01_14-58-04']);
            elseif strcmp(corName, 'CHS')
                fnMeasMain = cellstr(['C2G30_he0_ve0_hs-10_vs0_2006-10-01_15-02-20'; 
                                      'C2G30_he0_ve0_hs-5_vs0_2006-10-01_15-03-13 '; 
                                      'C2G30_he0_ve0_hs0_vs0_2006-10-01_15-04-09  '; 
                                      'C2G30_he0_ve0_hs5_vs0_2006-10-01_15-05-07  '; 
                                      'C2G30_he0_ve0_hs10_vs0_2006-10-01_15-06-02 ']);
                fnMeasBkgr = cellstr(['C2G30_he0_ve0_hs0_vs0_2006-10-01_15-04-09'; 
                                      'C2G30_he0_ve0_hs0_vs0_2006-10-01_15-04-09'; 
                                      'C2G30_he0_ve0_hs0_vs0_2006-10-01_15-04-09'; 
                                      'C2G30_he0_ve0_hs0_vs0_2006-10-01_15-04-09'; 
                                      'C2G30_he0_ve0_hs0_vs0_2006-10-01_15-04-09']);
            elseif strcmp(corName, 'CVS')
                fnMeasMain = cellstr(['C2G30_he0_ve0_hs0_vs-10_2006-10-01_15-08-12'; 
                                      'C2G30_he0_ve0_hs0_vs-5_2006-10-01_15-09-08 '; 
                                      'C2G30_he0_ve0_hs0_vs0_2006-10-01_15-10-02  '; 
                                      'C2G30_he0_ve0_hs0_vs5_2006-10-01_15-10-55  '; 
                                      'C2G30_he0_ve0_hs0_vs10_2006-10-01_15-11-48 ']);
                fnMeasBkgr = cellstr(['C2G30_he0_ve0_hs0_vs0_2006-10-01_15-10-02'; 
                                      'C2G30_he0_ve0_hs0_vs0_2006-10-01_15-10-02'; 
                                      'C2G30_he0_ve0_hs0_vs0_2006-10-01_15-10-02'; 
                                      'C2G30_he0_ve0_hs0_vs0_2006-10-01_15-10-02'; 
                                      'C2G30_he0_ve0_hs0_vs0_2006-10-01_15-10-02']);
            end
        %elseif (gap == 40)
        elseif (gap < 0.5*(40 + 50))
            if strcmp(corName, 'CHE')
                fnMeasMain = cellstr(['C3G40_he-10_ve0_hs0_vs0_2006-10-06_07-54-22'; 
                                      'C3G40_he-5_ve0_hs0_vs0_2006-10-06_07-55-51 ';
                                      'C3G40_he0_ve0_hs0_vs0_2006-10-06_07-57-24  ';
                                      'C3G40_he5_ve0_hs0_vs0_2006-10-06_07-58-26  ';
                                      'C3G40_he10_ve0_hs0_vs0_2006-10-06_07-59-30 ']);
                fnMeasBkgr = cellstr(['C3G40_he0_ve0_hs0_vs0_2006-10-06_07-52-40'; 
                                      'C3G40_he0_ve0_hs0_vs0_2006-10-06_07-52-40'; 
                                      'C3G40_he0_ve0_hs0_vs0_2006-10-06_07-57-24'; 
                                      'C3G40_he0_ve0_hs0_vs0_2006-10-06_07-57-24'; 
                                      'C3G40_he0_ve0_hs0_vs0_2006-10-06_07-57-24']);
            elseif strcmp(corName, 'CVE')
                                fnMeasMain = cellstr(['C3G40_he0_ve-10_hs0_vs0_2006-10-06_08-01-47';
                                      'C3G40_he0_ve-5_hs0_vs0_2006-10-06_08-02-49 ';
                                      'C3G40_he0_ve0_hs0_vs0_2006-10-06_08-03-54  ';
                                      'C3G40_he0_ve5_hs0_vs0_2006-10-06_08-04-57  ';
                                      'C3G40_he0_ve10_hs0_vs0_2006-10-06_08-05-58 ']);
                fnMeasBkgr = cellstr(['C3G40_he0_ve0_hs0_vs0_2006-10-06_08-00-37'; 
                                      'C3G40_he0_ve0_hs0_vs0_2006-10-06_08-00-37'; 
                                      'C3G40_he0_ve0_hs0_vs0_2006-10-06_08-03-54'; 
                                      'C3G40_he0_ve0_hs0_vs0_2006-10-06_08-03-54'; 
                                      'C3G40_he0_ve0_hs0_vs0_2006-10-06_08-03-54']);
            elseif strcmp(corName, 'CHS')
                fnMeasMain = cellstr(['C3G40_he0_ve0_hs-10_vs0_2006-10-06_08-08-07';
                                      'C3G40_he0_ve0_hs-5_vs0_2006-10-06_08-09-02 ';
                                      'C3G40_he0_ve0_hs0_vs0_2006-10-06_08-09-58  ';
                                      'C3G40_he0_ve0_hs5_vs0_2006-10-06_08-10-57  ';
                                      'C3G40_he0_ve0_hs10_vs0_2006-10-06_08-11-51 ']);
                 fnMeasBkgr = cellstr(['C3G40_he0_ve0_hs0_vs0_2006-10-06_08-07-03'; 
                                       'C3G40_he0_ve0_hs0_vs0_2006-10-06_08-07-03'; 
                                       'C3G40_he0_ve0_hs0_vs0_2006-10-06_08-09-58'; 
                                       'C3G40_he0_ve0_hs0_vs0_2006-10-06_08-09-58'; 
                                       'C3G40_he0_ve0_hs0_vs0_2006-10-06_08-09-58']);
            elseif strcmp(corName, 'CVS')
                fnMeasMain = cellstr(['C3G40_he0_ve0_hs0_vs-10_2006-10-06_08-14-08';
                                      'C3G40_he0_ve0_hs0_vs-5_2006-10-06_08-15-02 ';
                                      'C3G40_he0_ve0_hs0_vs0_2006-10-06_08-16-00  ';
                                      'C3G40_he0_ve0_hs0_vs5_2006-10-06_08-16-58  ';
                                      'C3G40_he0_ve0_hs0_vs10_2006-10-06_08-17-52 ']);
                fnMeasBkgr = cellstr(['C3G40_he0_ve0_hs0_vs0_2006-10-06_08-12-59'; 
                                      'C3G40_he0_ve0_hs0_vs0_2006-10-06_08-12-59'; 
                                      'C3G40_he0_ve0_hs0_vs0_2006-10-06_08-16-00'; 
                                      'C3G40_he0_ve0_hs0_vs0_2006-10-06_08-16-00'; 
                                      'C3G40_he0_ve0_hs0_vs0_2006-10-06_08-16-00']);
            end
        %elseif (gap == 50)
        elseif (gap < 0.5*(50 + 60))
             if strcmp(corName, 'CHE')
                fnMeasMain = cellstr(['C3G50_he-10_ve0_hs0_vs0_2006-10-06_08-24-59';
                                      'C3G50_he-5_ve0_hs0_vs0_2006-10-06_08-25-29 ';
                                      'C3G50_he0_ve0_hs0_vs0_2006-10-06_08-25-58  ';
                                      'C3G50_he5_ve0_hs0_vs0_2006-10-06_08-26-28  ';
                                      'C3G50_he10_ve0_hs0_vs0_2006-10-06_08-26-59 ']);
                fnMeasBkgr = cellstr(['C3G50_he0_ve0_hs0_vs0_2006-10-06_08-24-24'; 
                                      'C3G50_he0_ve0_hs0_vs0_2006-10-06_08-24-24'; 
                                      'C3G50_he0_ve0_hs0_vs0_2006-10-06_08-25-58'; 
                                      'C3G50_he0_ve0_hs0_vs0_2006-10-06_08-25-58'; 
                                      'C3G50_he0_ve0_hs0_vs0_2006-10-06_08-25-58']);
            elseif strcmp(corName, 'CVE')
                fnMeasMain = cellstr(['C3G50_he0_ve-10_hs0_vs0_2006-10-06_08-28-09';
                                      'C3G50_he0_ve-5_hs0_vs0_2006-10-06_08-28-39 ';
                                      'C3G50_he0_ve0_hs0_vs0_2006-10-06_08-29-08  ';
                                      'C3G50_he0_ve5_hs0_vs0_2006-10-06_08-29-38  ';
                                      'C3G50_he0_ve10_hs0_vs0_2006-10-06_08-30-09 ']);
                fnMeasBkgr = cellstr(['C3G50_he0_ve0_hs0_vs0_2006-10-06_08-27-33'; 
                                      'C3G50_he0_ve0_hs0_vs0_2006-10-06_08-27-33'; 
                                      'C3G50_he0_ve0_hs0_vs0_2006-10-06_08-29-08'; 
                                      'C3G50_he0_ve0_hs0_vs0_2006-10-06_08-29-08'; 
                                      'C3G50_he0_ve0_hs0_vs0_2006-10-06_08-29-08']);
            elseif strcmp(corName, 'CHS')
                fnMeasMain = cellstr(['C3G50_he0_ve0_hs-10_vs0_2006-10-06_08-31-16';
                                      'C3G50_he0_ve0_hs-5_vs0_2006-10-06_08-31-37 ';
                                      'C3G50_he0_ve0_hs0_vs0_2006-10-06_08-31-59  ';
                                      'C3G50_he0_ve0_hs5_vs0_2006-10-06_08-32-24  ';
                                      'C3G50_he0_ve0_hs10_vs0_2006-10-06_08-32-45 ']);
                 fnMeasBkgr = cellstr(['C3G50_he0_ve0_hs0_vs0_2006-10-06_08-30-45'; 
                                       'C3G50_he0_ve0_hs0_vs0_2006-10-06_08-30-45'; 
                                       'C3G50_he0_ve0_hs0_vs0_2006-10-06_08-31-59'; 
                                       'C3G50_he0_ve0_hs0_vs0_2006-10-06_08-31-59'; 
                                       'C3G50_he0_ve0_hs0_vs0_2006-10-06_08-31-59']);
            elseif strcmp(corName, 'CVS')
                fnMeasMain = cellstr(['C3G50_he0_ve0_hs0_vs-10_2006-10-06_08-33-53';
                                      'C3G50_he0_ve0_hs0_vs-5_2006-10-06_08-34-14 ';
                                      'C3G50_he0_ve0_hs0_vs0_2006-10-06_08-34-35  ';
                                      'C3G50_he0_ve0_hs0_vs5_2006-10-06_08-35-00  ';
                                      'C3G50_he0_ve0_hs0_vs10_2006-10-06_08-35-22 ']);
                fnMeasBkgr = cellstr(['C3G50_he0_ve0_hs0_vs0_2006-10-06_08-33-19'; 
                                      'C3G50_he0_ve0_hs0_vs0_2006-10-06_08-33-19'; 
                                      'C3G50_he0_ve0_hs0_vs0_2006-10-06_08-34-35'; 
                                      'C3G50_he0_ve0_hs0_vs0_2006-10-06_08-34-35'; 
                                      'C3G50_he0_ve0_hs0_vs0_2006-10-06_08-34-35']);
            end
        %elseif (gap == 60)
        elseif (gap < 0.5*(60 + 80))
            if strcmp(corName, 'CHE')
                fnMeasMain = cellstr(['C3G60_he-10_ve0_hs0_vs0_2006-10-06_08-38-12';
                                      'C3G60_he-5_ve0_hs0_vs0_2006-10-06_08-38-42 ';
                                      'C3G60_he0_ve0_hs0_vs0_2006-10-06_08-39-12  ';
                                      'C3G60_he5_ve0_hs0_vs0_2006-10-06_08-39-43  ';
                                      'C3G60_he10_ve0_hs0_vs0_2006-10-06_08-40-13 ']);
                fnMeasBkgr = cellstr(['C3G60_he0_ve0_hs0_vs0_2006-10-06_08-37-38'; 
                                      'C3G60_he0_ve0_hs0_vs0_2006-10-06_08-37-38'; 
                                      'C3G60_he0_ve0_hs0_vs0_2006-10-06_08-39-12'; 
                                      'C3G60_he0_ve0_hs0_vs0_2006-10-06_08-39-12'; 
                                      'C3G60_he0_ve0_hs0_vs0_2006-10-06_08-39-12']);
            elseif strcmp(corName, 'CVE')
                fnMeasMain = cellstr(['C3G60_he0_ve-10_hs0_vs0_2006-10-06_08-41-23';
                                      'C3G60_he0_ve-5_hs0_vs0_2006-10-06_08-41-53 ';
                                      'C3G60_he0_ve0_hs0_vs0_2006-10-06_08-42-21  ';
                                      'C3G60_he0_ve5_hs0_vs0_2006-10-06_08-42-51  ';
                                      'C3G60_he0_ve10_hs0_vs0_2006-10-06_08-43-21 ']);
                fnMeasBkgr = cellstr(['C3G60_he0_ve0_hs0_vs0_2006-10-06_08-40-48'; 
                                      'C3G60_he0_ve0_hs0_vs0_2006-10-06_08-40-48'; 
                                      'C3G60_he0_ve0_hs0_vs0_2006-10-06_08-42-21'; 
                                      'C3G60_he0_ve0_hs0_vs0_2006-10-06_08-42-21'; 
                                      'C3G60_he0_ve0_hs0_vs0_2006-10-06_08-42-21']);
            elseif strcmp(corName, 'CHS')
                fnMeasMain = cellstr(['C3G60_he0_ve0_hs-10_vs0_2006-10-06_08-44-26';
                                      'C3G60_he0_ve0_hs-5_vs0_2006-10-06_08-44-47 ';
                                      'C3G60_he0_ve0_hs0_vs0_2006-10-06_08-45-08  ';
                                      'C3G60_he0_ve0_hs5_vs0_2006-10-06_08-45-36  ';
                                      'C3G60_he0_ve0_hs10_vs0_2006-10-06_08-45-57 ']);
                 fnMeasBkgr = cellstr(['C3G60_he0_ve0_hs0_vs0_2006-10-06_08-43-57'; 
                                       'C3G60_he0_ve0_hs0_vs0_2006-10-06_08-43-57'; 
                                       'C3G60_he0_ve0_hs0_vs0_2006-10-06_08-45-08'; 
                                       'C3G60_he0_ve0_hs0_vs0_2006-10-06_08-45-08'; 
                                       'C3G60_he0_ve0_hs0_vs0_2006-10-06_08-45-08']);
            elseif strcmp(corName, 'CVS')
                fnMeasMain = cellstr(['C3G60_he0_ve0_hs0_vs-10_2006-10-06_08-47-00';
                                      'C3G60_he0_ve0_hs0_vs-5_2006-10-06_08-47-22 ';
                                      'C3G60_he0_ve0_hs0_vs0_2006-10-06_08-47-42  ';
                                      'C3G60_he0_ve0_hs0_vs5_2006-10-06_08-48-08  ';
                                      'C3G60_he0_ve0_hs0_vs10_2006-10-06_08-48-30 ']);
                fnMeasBkgr = cellstr(['C3G60_he0_ve0_hs0_vs0_2006-10-06_08-46-26'; 
                                      'C3G60_he0_ve0_hs0_vs0_2006-10-06_08-46-26'; 
                                      'C3G60_he0_ve0_hs0_vs0_2006-10-06_08-47-42'; 
                                      'C3G60_he0_ve0_hs0_vs0_2006-10-06_08-47-42'; 
                                      'C3G60_he0_ve0_hs0_vs0_2006-10-06_08-47-42']);
            end
        %elseif (gap == 80)
        elseif (gap < 0.5*(80 + 110))
             if strcmp(corName, 'CHE')
                fnMeasMain = cellstr(['C3G80_he-10_ve0_hs0_vs0_2006-10-06_09-07-47';
                                      'C3G80_he-5_ve0_hs0_vs0_2006-10-06_09-08-17 ';
                                      'C3G80_he0_ve0_hs0_vs0_2006-10-06_09-08-47  ';
                                      'C3G80_he5_ve0_hs0_vs0_2006-10-06_09-09-17  ';
                                      'C3G80_he10_ve0_hs0_vs0_2006-10-06_09-09-47 ']);
                fnMeasBkgr = cellstr(['C3G80_he0_ve0_hs0_vs0_2006-10-06_09-07-09'; 
                                      'C3G80_he0_ve0_hs0_vs0_2006-10-06_09-07-09'; 
                                      'C3G80_he0_ve0_hs0_vs0_2006-10-06_09-08-47'; 
                                      'C3G80_he0_ve0_hs0_vs0_2006-10-06_09-08-47'; 
                                      'C3G80_he0_ve0_hs0_vs0_2006-10-06_09-08-47']);
            elseif strcmp(corName, 'CVE')
                fnMeasMain = cellstr(['C3G80_he0_ve-10_hs0_vs0_2006-10-06_09-10-55';
                                      'C3G80_he0_ve-5_hs0_vs0_2006-10-06_09-11-25 ';
                                      'C3G80_he0_ve0_hs0_vs0_2006-10-06_09-11-56  ';
                                      'C3G80_he0_ve5_hs0_vs0_2006-10-06_09-12-26  ';
                                      'C3G80_he0_ve10_hs0_vs0_2006-10-06_09-12-56 ']);
                fnMeasBkgr = cellstr(['C3G80_he0_ve0_hs0_vs0_2006-10-06_09-10-22'; 
                                      'C3G80_he0_ve0_hs0_vs0_2006-10-06_09-10-22'; 
                                      'C3G80_he0_ve0_hs0_vs0_2006-10-06_09-11-56'; 
                                      'C3G80_he0_ve0_hs0_vs0_2006-10-06_09-11-56'; 
                                      'C3G80_he0_ve0_hs0_vs0_2006-10-06_09-11-56']);
            elseif strcmp(corName, 'CHS')
                fnMeasMain = cellstr(['C3G80_he0_ve0_hs-10_vs0_2006-10-06_09-14-03';
                                      'C3G80_he0_ve0_hs-5_vs0_2006-10-06_09-14-24 ';
                                      'C3G80_he0_ve0_hs0_vs0_2006-10-06_09-14-45  ';
                                      'C3G80_he0_ve0_hs5_vs0_2006-10-06_09-15-09  ';
                                      'C3G80_he0_ve0_hs10_vs0_2006-10-06_09-15-32 ']);
                 fnMeasBkgr = cellstr(['C3G80_he0_ve0_hs0_vs0_2006-10-06_09-13-32'; 
                                       'C3G80_he0_ve0_hs0_vs0_2006-10-06_09-13-32'; 
                                       'C3G80_he0_ve0_hs0_vs0_2006-10-06_09-14-45'; 
                                       'C3G80_he0_ve0_hs0_vs0_2006-10-06_09-14-45'; 
                                       'C3G80_he0_ve0_hs0_vs0_2006-10-06_09-14-45']);
            elseif strcmp(corName, 'CVS')
                fnMeasMain = cellstr(['C3G80_he0_ve0_hs0_vs-10_2006-10-06_09-16-42';
                                      'C3G80_he0_ve0_hs0_vs-5_2006-10-06_09-17-04 ';
                                      'C3G80_he0_ve0_hs0_vs0_2006-10-06_09-17-24  ';
                                      'C3G80_he0_ve0_hs0_vs5_2006-10-06_09-17-48  ';
                                      'C3G80_he0_ve0_hs0_vs10_2006-10-06_09-18-10 ']);
                fnMeasBkgr = cellstr(['C3G80_he0_ve0_hs0_vs0_2006-10-06_09-16-08'; 
                                      'C3G80_he0_ve0_hs0_vs0_2006-10-06_09-16-08'; 
                                      'C3G80_he0_ve0_hs0_vs0_2006-10-06_09-17-24'; 
                                      'C3G80_he0_ve0_hs0_vs0_2006-10-06_09-17-24'; 
                                      'C3G80_he0_ve0_hs0_vs0_2006-10-06_09-17-24']);
            end
        %elseif (gap == 110)
        elseif (gap >= 0.5*(80 + 110))
             if strcmp(corName, 'CHE')
                fnMeasMain = cellstr(['C3G110_he-10_ve0_hs0_vs0_2006-10-06_09-42-19';
                                      'C3G110_he-5_ve0_hs0_vs0_2006-10-06_09-42-50 ';
                                      'C3G110_he0_ve0_hs0_vs0_2006-10-06_09-43-18  ';
                                      'C3G110_he5_ve0_hs0_vs0_2006-10-06_09-43-46  ';
                                      'C3G110_he10_ve0_hs0_vs0_2006-10-06_09-44-16 ']);
                fnMeasBkgr = cellstr(['C3G110_he0_ve0_hs0_vs0_2006-10-06_09-41-45'; 
                                      'C3G110_he0_ve0_hs0_vs0_2006-10-06_09-41-45'; 
                                      'C3G110_he0_ve0_hs0_vs0_2006-10-06_09-43-18'; 
                                      'C3G110_he0_ve0_hs0_vs0_2006-10-06_09-43-18'; 
                                      'C3G110_he0_ve0_hs0_vs0_2006-10-06_09-43-18']);
            elseif strcmp(corName, 'CVE')
                fnMeasMain = cellstr(['C3G110_he0_ve-10_hs0_vs0_2006-10-06_09-45-26';
                                      'C3G110_he0_ve-5_hs0_vs0_2006-10-06_09-45-57 ';
                                      'C3G110_he0_ve0_hs0_vs0_2006-10-06_09-46-26  ';
                                      'C3G110_he0_ve5_hs0_vs0_2006-10-06_09-46-57  ';
                                      'C3G110_he0_ve10_hs0_vs0_2006-10-06_09-47-26 ']);
                fnMeasBkgr = cellstr(['C3G110_he0_ve0_hs0_vs0_2006-10-06_09-44-52'; 
                                      'C3G110_he0_ve0_hs0_vs0_2006-10-06_09-44-52'; 
                                      'C3G110_he0_ve0_hs0_vs0_2006-10-06_09-46-26'; 
                                      'C3G110_he0_ve0_hs0_vs0_2006-10-06_09-46-26'; 
                                      'C3G110_he0_ve0_hs0_vs0_2006-10-06_09-46-26']);
            elseif strcmp(corName, 'CHS')
                fnMeasMain = cellstr(['C3G110_he0_ve0_hs-10_vs0_2006-10-06_09-48-34';
                                      'C3G110_he0_ve0_hs-5_vs0_2006-10-06_09-48-55 ';
                                      'C3G110_he0_ve0_hs0_vs0_2006-10-06_09-49-17  ';
                                      'C3G110_he0_ve0_hs5_vs0_2006-10-06_09-49-42  ';
                                      'C3G110_he0_ve0_hs10_vs0_2006-10-06_09-50-04 ']);
                 fnMeasBkgr = cellstr(['C3G110_he0_ve0_hs0_vs0_2006-10-06_09-48-02'; 
                                       'C3G110_he0_ve0_hs0_vs0_2006-10-06_09-48-02'; 
                                       'C3G110_he0_ve0_hs0_vs0_2006-10-06_09-49-17'; 
                                       'C3G110_he0_ve0_hs0_vs0_2006-10-06_09-49-17'; 
                                       'C3G110_he0_ve0_hs0_vs0_2006-10-06_09-49-17']);
            elseif strcmp(corName, 'CVS')
                fnMeasMain = cellstr(['C3G110_he0_ve0_hs0_vs-10_2006-10-06_09-51-12';
                                      'C3G110_he0_ve0_hs0_vs-5_2006-10-06_09-51-33 ';
                                      'C3G110_he0_ve0_hs0_vs0_2006-10-06_09-51-55  ';
                                      'C3G110_he0_ve0_hs0_vs5_2006-10-06_09-52-19  ';
                                      'C3G110_he0_ve0_hs0_vs10_2006-10-06_09-52-41 ']);
                fnMeasBkgr = cellstr(['C3G110_he0_ve0_hs0_vs0_2006-10-06_09-50-37'; 
                                      'C3G110_he0_ve0_hs0_vs0_2006-10-06_09-50-37'; 
                                      'C3G110_he0_ve0_hs0_vs0_2006-10-06_09-51-55'; 
                                      'C3G110_he0_ve0_hs0_vs0_2006-10-06_09-51-55'; 
                                      'C3G110_he0_ve0_hs0_vs0_2006-10-06_09-51-55']);
            end
        end
    elseif strcmp(idName, 'HU80_CASSIOPEE')
        vCurVals = [-10, -5, 0, 5, 10];
        if (gap < 0.5*(15.5 + 18))
            if strcmp(corName, 'CHE')
                fnMeasMain = cellstr(['C1G15_5_he-10_ve0_hs0_vs0_2007-05-02_08-57-51';
                                      'C1G15_5_he-5_ve0_hs0_vs0_2007-05-02_08-58-09 ';
                                      'C1G15_5_he0_ve0_hs0_vs0_2007-05-02_08-58-28  ';
                                      'C1G15_5_he5_ve0_hs0_vs0_2007-05-02_08-58-47  ';
                                      'C1G15_5_he10_ve0_hs0_vs0_2007-05-02_08-59-05 ']);
                fnMeasBkgr = cellstr(['C1G15_5_he0_ve0_hs0_vs0_2007-05-02_08-57-30'
                                      'C1G15_5_he0_ve0_hs0_vs0_2007-05-02_08-57-30';
                                      'C1G15_5_he0_ve0_hs0_vs0_2007-05-02_08-58-28';
                                      'C1G15_5_he0_ve0_hs0_vs0_2007-05-02_08-58-28';
                                      'C1G15_5_he0_ve0_hs0_vs0_2007-05-02_08-58-28']);
            elseif strcmp(corName, 'CVE')
                fnMeasMain = cellstr(['C1G15_5_he0_ve-10_hs0_vs0_2007-05-02_08-59-47';
                                      'C1G15_5_he0_ve-5_hs0_vs0_2007-05-02_09-00-06 ';
                                      'C1G15_5_he0_ve0_hs0_vs0_2007-05-02_09-00-24  ';
                                      'C1G15_5_he0_ve5_hs0_vs0_2007-05-02_09-00-44  ';
                                      'C1G15_5_he0_ve10_hs0_vs0_2007-05-02_09-01-02 ']);
                fnMeasBkgr = cellstr(['C1G15_5_he0_ve0_hs0_vs0_2007-05-02_08-59-25';
                                      'C1G15_5_he0_ve0_hs0_vs0_2007-05-02_08-59-25';
                                      'C1G15_5_he0_ve0_hs0_vs0_2007-05-02_09-00-24';
                                      'C1G15_5_he0_ve0_hs0_vs0_2007-05-02_09-00-24';
                                      'C1G15_5_he0_ve0_hs0_vs0_2007-05-02_09-00-24']);
            elseif strcmp(corName, 'CHS')
                fnMeasMain = cellstr(['C1G15_5_he0_ve0_hs-10_vs0_2007-05-02_09-01-45';
                                      'C1G15_5_he0_ve0_hs-5_vs0_2007-05-02_09-02-04 ';
                                      'C1G15_5_he0_ve0_hs0_vs0_2007-05-02_09-02-22  ';
                                      'C1G15_5_he0_ve0_hs5_vs0_2007-05-02_09-02-41  ';
                                      'C1G15_5_he0_ve0_hs10_vs0_2007-05-02_09-02-59 ']);
                fnMeasBkgr = cellstr(['C1G15_5_he0_ve0_hs0_vs0_2007-05-02_09-01-23';
                                      'C1G15_5_he0_ve0_hs0_vs0_2007-05-02_09-01-23';
                                      'C1G15_5_he0_ve0_hs0_vs0_2007-05-02_09-02-22';
                                      'C1G15_5_he0_ve0_hs0_vs0_2007-05-02_09-02-22';
                                      'C1G15_5_he0_ve0_hs0_vs0_2007-05-02_09-02-22']);
            elseif strcmp(corName, 'CVS')
                fnMeasMain = cellstr(['C1G15_5_he0_ve0_hs0_vs-10_2007-05-02_09-03-39';
                                      'C1G15_5_he0_ve0_hs0_vs-5_2007-05-02_09-03-58 ';
                                      'C1G15_5_he0_ve0_hs0_vs0_2007-05-02_09-04-16  ';
                                      'C1G15_5_he0_ve0_hs0_vs5_2007-05-02_09-04-35  ';
                                      'C1G15_5_he0_ve0_hs0_vs10_2007-05-02_09-04-53 ']);
                fnMeasBkgr = cellstr(['C1G15_5_he0_ve0_hs0_vs0_2007-05-02_09-03-20';
                                      'C1G15_5_he0_ve0_hs0_vs0_2007-05-02_09-03-20';
                                      'C1G15_5_he0_ve0_hs0_vs0_2007-05-02_09-04-16';
                                      'C1G15_5_he0_ve0_hs0_vs0_2007-05-02_09-04-16';
                                      'C1G15_5_he0_ve0_hs0_vs0_2007-05-02_09-04-16']);
            end
        elseif (gap < 0.5*(18 + 20))
            if strcmp(corName, 'CHE')
                fnMeasMain = cellstr(['C1G18_he-10_ve0_hs0_vs0_2007-05-02_09-08-03';
                                      'C1G18_he-5_ve0_hs0_vs0_2007-05-02_09-08-21 ';
                                      'C1G18_he0_ve0_hs0_vs0_2007-05-02_09-08-41  ';
                                      'C1G18_he5_ve0_hs0_vs0_2007-05-02_09-08-59  ';
                                      'C1G18_he10_ve0_hs0_vs0_2007-05-02_09-09-18 ']);
                fnMeasBkgr = cellstr(['C1G18_he0_ve0_hs0_vs0_2007-05-02_09-07-43';
                                      'C1G18_he0_ve0_hs0_vs0_2007-05-02_09-07-43';
                                      'C1G18_he0_ve0_hs0_vs0_2007-05-02_09-08-41';
                                      'C1G18_he0_ve0_hs0_vs0_2007-05-02_09-08-41';
                                      'C1G18_he0_ve0_hs0_vs0_2007-05-02_09-08-41']);
            elseif strcmp(corName, 'CVE')
                fnMeasMain = cellstr(['C1G18_he0_ve-10_hs0_vs0_2007-05-02_09-09-57';
                                      'C1G18_he0_ve-5_hs0_vs0_2007-05-02_09-10-16 ';
                                      'C1G18_he0_ve0_hs0_vs0_2007-05-02_09-10-34  ';
                                      'C1G18_he0_ve5_hs0_vs0_2007-05-02_09-10-53  ';
                                      'C1G18_he0_ve10_hs0_vs0_2007-05-02_09-11-11 ']);
                fnMeasBkgr = cellstr(['C1G18_he0_ve0_hs0_vs0_2007-05-02_09-09-37';
                                      'C1G18_he0_ve0_hs0_vs0_2007-05-02_09-09-37';
                                      'C1G18_he0_ve0_hs0_vs0_2007-05-02_09-10-34';
                                      'C1G18_he0_ve0_hs0_vs0_2007-05-02_09-10-34';
                                      'C1G18_he0_ve0_hs0_vs0_2007-05-02_09-10-34']);
            elseif strcmp(corName, 'CHS')
                fnMeasMain = cellstr(['C1G18_he0_ve0_hs-10_vs0_2007-05-02_09-11-51';
                                      'C1G18_he0_ve0_hs-5_vs0_2007-05-02_09-12-09 ';
                                      'C1G18_he0_ve0_hs0_vs0_2007-05-02_09-12-28  ';
                                      'C1G18_he0_ve0_hs5_vs0_2007-05-02_09-12-47  ';
                                      'C1G18_he0_ve0_hs10_vs0_2007-05-02_09-13-05 ']);
                fnMeasBkgr = cellstr(['C1G18_he0_ve0_hs0_vs0_2007-05-02_09-11-31';
                                      'C1G18_he0_ve0_hs0_vs0_2007-05-02_09-11-31';
                                      'C1G18_he0_ve0_hs0_vs0_2007-05-02_09-12-28';
                                      'C1G18_he0_ve0_hs0_vs0_2007-05-02_09-12-28';
                                      'C1G18_he0_ve0_hs0_vs0_2007-05-02_09-12-28']);
            elseif strcmp(corName, 'CVS')
                fnMeasMain = cellstr(['C1G18_he0_ve0_hs0_vs-10_2007-05-02_09-13-44';
                                      'C1G18_he0_ve0_hs0_vs-5_2007-05-02_09-14-03 ';
                                      'C1G18_he0_ve0_hs0_vs0_2007-05-02_09-14-21  ';
                                      'C1G18_he0_ve0_hs0_vs5_2007-05-02_09-14-40  ';
                                      'C1G18_he0_ve0_hs0_vs10_2007-05-02_09-14-58 ']);
                fnMeasBkgr = cellstr(['C1G18_he0_ve0_hs0_vs0_2007-05-02_09-13-25';
                                      'C1G18_he0_ve0_hs0_vs0_2007-05-02_09-13-25';
                                      'C1G18_he0_ve0_hs0_vs0_2007-05-02_09-14-21';
                                      'C1G18_he0_ve0_hs0_vs0_2007-05-02_09-14-21';
                                      'C1G18_he0_ve0_hs0_vs0_2007-05-02_09-14-21']);
            end
        elseif (gap < 0.5*(20 + 25))
            if strcmp(corName, 'CHE')
                fnMeasMain = cellstr(['C1G20_he-10_ve0_hs0_vs0_2007-05-02_09-27-54';
                                      'C1G20_he-5_ve0_hs0_vs0_2007-05-02_09-28-13 ';
                                      'C1G20_he0_ve0_hs0_vs0_2007-05-02_09-28-31  ';
                                      'C1G20_he5_ve0_hs0_vs0_2007-05-02_09-28-50  ';
                                      'C1G20_he10_ve0_hs0_vs0_2007-05-02_09-29-09 ']);
                fnMeasBkgr = cellstr(['C1G20_he0_ve0_hs0_vs0_2007-05-02_09-27-35';
                                      'C1G20_he0_ve0_hs0_vs0_2007-05-02_09-27-35';
                                      'C1G20_he0_ve0_hs0_vs0_2007-05-02_09-28-31';
                                      'C1G20_he0_ve0_hs0_vs0_2007-05-02_09-28-31';
                                      'C1G20_he0_ve0_hs0_vs0_2007-05-02_09-28-31']);
            elseif strcmp(corName, 'CVE')
                fnMeasMain = cellstr(['C1G20_he0_ve-10_hs0_vs0_2007-05-02_09-29-48';
                                      'C1G20_he0_ve-5_hs0_vs0_2007-05-02_09-30-06 ';
                                      'C1G20_he0_ve0_hs0_vs0_2007-05-02_09-30-25  ';
                                      'C1G20_he0_ve5_hs0_vs0_2007-05-02_09-30-43  ';
                                      'C1G20_he0_ve10_hs0_vs0_2007-05-02_09-31-02 ']);
                fnMeasBkgr = cellstr(['C1G20_he0_ve0_hs0_vs0_2007-05-02_09-29-28';
                                      'C1G20_he0_ve0_hs0_vs0_2007-05-02_09-29-28';
                                      'C1G20_he0_ve0_hs0_vs0_2007-05-02_09-30-25';
                                      'C1G20_he0_ve0_hs0_vs0_2007-05-02_09-30-25';
                                      'C1G20_he0_ve0_hs0_vs0_2007-05-02_09-30-25']);
            elseif strcmp(corName, 'CHS')
                fnMeasMain = cellstr(['C1G20_he0_ve0_hs-10_vs0_2007-05-02_09-31-42';
                                      'C1G20_he0_ve0_hs-5_vs0_2007-05-02_09-32-01 ';
                                      'C1G20_he0_ve0_hs0_vs0_2007-05-02_09-32-20  ';
                                      'C1G20_he0_ve0_hs5_vs0_2007-05-02_09-32-39  ';
                                      'C1G20_he0_ve0_hs10_vs0_2007-05-02_09-32-57 ']);
                fnMeasBkgr = cellstr(['C1G20_he0_ve0_hs0_vs0_2007-05-02_09-31-23';
                                      'C1G20_he0_ve0_hs0_vs0_2007-05-02_09-31-23';
                                      'C1G20_he0_ve0_hs0_vs0_2007-05-02_09-32-20';
                                      'C1G20_he0_ve0_hs0_vs0_2007-05-02_09-32-20';
                                      'C1G20_he0_ve0_hs0_vs0_2007-05-02_09-32-20']);
            elseif strcmp(corName, 'CVS')
                fnMeasMain = cellstr(['C1G20_he0_ve0_hs0_vs-10_2007-05-02_09-33-37';
                                      'C1G20_he0_ve0_hs0_vs-5_2007-05-02_09-33-55 ';
                                      'C1G20_he0_ve0_hs0_vs0_2007-05-02_09-34-14  ';
                                      'C1G20_he0_ve0_hs0_vs5_2007-05-02_09-34-32  ';
                                      'C1G20_he0_ve0_hs0_vs10_2007-05-02_09-34-51 ']);
                fnMeasBkgr = cellstr(['C1G20_he0_ve0_hs0_vs0_2007-05-02_09-33-17';
                                      'C1G20_he0_ve0_hs0_vs0_2007-05-02_09-33-17';
                                      'C1G20_he0_ve0_hs0_vs0_2007-05-02_09-34-14';
                                      'C1G20_he0_ve0_hs0_vs0_2007-05-02_09-34-14';
                                      'C1G20_he0_ve0_hs0_vs0_2007-05-02_09-34-14']);
            end
        elseif (gap < 0.5*(25 + 30))
            if strcmp(corName, 'CHE')
                fnMeasMain = cellstr(['C1G25_he-10_ve0_hs0_vs0_2007-05-02_09-40-05';
                                      'C1G25_he-5_ve0_hs0_vs0_2007-05-02_09-40-23 ';
                                      'C1G25_he0_ve0_hs0_vs0_2007-05-02_09-40-42  ';
                                      'C1G25_he5_ve0_hs0_vs0_2007-05-02_09-41-01  ';
                                      'C1G25_he10_ve0_hs0_vs0_2007-05-02_09-41-19 ']);
                fnMeasBkgr = cellstr(['C1G25_he0_ve0_hs0_vs0_2007-05-02_09-39-45';
                                      'C1G25_he0_ve0_hs0_vs0_2007-05-02_09-39-45';
                                      'C1G25_he0_ve0_hs0_vs0_2007-05-02_09-40-42';
                                      'C1G25_he0_ve0_hs0_vs0_2007-05-02_09-40-42';
                                      'C1G25_he0_ve0_hs0_vs0_2007-05-02_09-40-42']);
            elseif strcmp(corName, 'CVE')
                fnMeasMain = cellstr(['C1G25_he0_ve-10_hs0_vs0_2007-05-02_09-42-00';
                                      'C1G25_he0_ve-5_hs0_vs0_2007-05-02_09-42-19 ';
                                      'C1G25_he0_ve0_hs0_vs0_2007-05-02_09-42-37  ';
                                      'C1G25_he0_ve5_hs0_vs0_2007-05-02_09-42-56  ';
                                      'C1G25_he0_ve10_hs0_vs0_2007-05-02_09-43-15 ']);
                fnMeasBkgr = cellstr(['C1G25_he0_ve0_hs0_vs0_2007-05-02_09-41-39';
                                      'C1G25_he0_ve0_hs0_vs0_2007-05-02_09-41-39';
                                      'C1G25_he0_ve0_hs0_vs0_2007-05-02_09-42-37';
                                      'C1G25_he0_ve0_hs0_vs0_2007-05-02_09-42-37';
                                      'C1G25_he0_ve0_hs0_vs0_2007-05-02_09-42-37']);
            elseif strcmp(corName, 'CHS')
                fnMeasMain = cellstr(['C1G25_he0_ve0_hs-10_vs0_2007-05-02_09-43-54';
                                      'C1G25_he0_ve0_hs-5_vs0_2007-05-02_09-44-12 ';
                                      'C1G25_he0_ve0_hs0_vs0_2007-05-02_09-44-31  ';
                                      'C1G25_he0_ve0_hs5_vs0_2007-05-02_09-44-50  ';
                                      'C1G25_he0_ve0_hs10_vs0_2007-05-02_09-45-08 ']);
                fnMeasBkgr = cellstr(['C1G25_he0_ve0_hs0_vs0_2007-05-02_09-43-34';
                                      'C1G25_he0_ve0_hs0_vs0_2007-05-02_09-43-34';
                                      'C1G25_he0_ve0_hs0_vs0_2007-05-02_09-44-31';
                                      'C1G25_he0_ve0_hs0_vs0_2007-05-02_09-44-31';
                                      'C1G25_he0_ve0_hs0_vs0_2007-05-02_09-44-31']);
            elseif strcmp(corName, 'CVS')
                fnMeasMain = cellstr(['C1G25_he0_ve0_hs0_vs-10_2007-05-02_09-45-48';
                                      'C1G25_he0_ve0_hs0_vs-5_2007-05-02_09-46-07 ';
                                      'C1G25_he0_ve0_hs0_vs0_2007-05-02_09-46-25  ';
                                      'C1G25_he0_ve0_hs0_vs5_2007-05-02_09-46-44  ';
                                      'C1G25_he0_ve0_hs0_vs10_2007-05-02_09-47-03 ']);
                fnMeasBkgr = cellstr(['C1G25_he0_ve0_hs0_vs0_2007-05-02_09-45-29';
                                      'C1G25_he0_ve0_hs0_vs0_2007-05-02_09-45-29';
                                      'C1G25_he0_ve0_hs0_vs0_2007-05-02_09-46-25';
                                      'C1G25_he0_ve0_hs0_vs0_2007-05-02_09-46-25';
                                      'C1G25_he0_ve0_hs0_vs0_2007-05-02_09-46-25']);
            end
        elseif (gap < 0.5*(30 + 35))
            if strcmp(corName, 'CHE')
                fnMeasMain = cellstr(['C1G30_he-10_ve0_hs0_vs0_2007-05-02_09-55-29';
                                      'C1G30_he-5_ve0_hs0_vs0_2007-05-02_09-55-48 ';
                                      'C1G30_he0_ve0_hs0_vs0_2007-05-02_09-56-06  ';
                                      'C1G30_he5_ve0_hs0_vs0_2007-05-02_09-56-25  ';
                                      'C1G30_he10_ve0_hs0_vs0_2007-05-02_09-56-43 ']);
                fnMeasBkgr = cellstr(['C1G30_he0_ve0_hs0_vs0_2007-05-02_09-55-10';
                                      'C1G30_he0_ve0_hs0_vs0_2007-05-02_09-55-10';
                                      'C1G30_he5_ve0_hs0_vs0_2007-05-02_09-56-25';
                                      'C1G30_he5_ve0_hs0_vs0_2007-05-02_09-56-25';
                                      'C1G30_he5_ve0_hs0_vs0_2007-05-02_09-56-25']);
            elseif strcmp(corName, 'CVE')
                fnMeasMain = cellstr(['C1G30_he0_ve-10_hs0_vs0_2007-05-02_09-57-22';
                                      'C1G30_he0_ve-5_hs0_vs0_2007-05-02_09-57-41 ';
                                      'C1G30_he0_ve0_hs0_vs0_2007-05-02_09-58-00  ';
                                      'C1G30_he0_ve5_hs0_vs0_2007-05-02_09-58-18  ';
                                      'C1G30_he0_ve10_hs0_vs0_2007-05-02_09-58-37 ']);
                fnMeasBkgr = cellstr(['C1G30_he0_ve0_hs0_vs0_2007-05-02_09-57-03';
                                      'C1G30_he0_ve0_hs0_vs0_2007-05-02_09-57-03';
                                      'C1G30_he0_ve0_hs0_vs0_2007-05-02_09-58-00';
                                      'C1G30_he0_ve0_hs0_vs0_2007-05-02_09-58-00';
                                      'C1G30_he0_ve0_hs0_vs0_2007-05-02_09-58-00']);
            elseif strcmp(corName, 'CHS')
                fnMeasMain = cellstr(['C1G30_he0_ve0_hs-10_vs0_2007-05-02_09-59-16';
                                      'C1G30_he0_ve0_hs-5_vs0_2007-05-02_09-59-34 ';
                                      'C1G30_he0_ve0_hs0_vs0_2007-05-02_09-59-53  ';
                                      'C1G30_he0_ve0_hs5_vs0_2007-05-02_10-00-12  ';
                                      'C1G30_he0_ve0_hs10_vs0_2007-05-02_10-00-30 ']);
                fnMeasBkgr = cellstr(['C1G30_he0_ve0_hs0_vs0_2007-05-02_09-58-56';
                                      'C1G30_he0_ve0_hs0_vs0_2007-05-02_09-58-56';
                                      'C1G30_he0_ve0_hs0_vs0_2007-05-02_09-59-53';
                                      'C1G30_he0_ve0_hs0_vs0_2007-05-02_09-59-53';
                                      'C1G30_he0_ve0_hs0_vs0_2007-05-02_09-59-53']);
            elseif strcmp(corName, 'CVS')
                fnMeasMain = cellstr(['C1G30_he0_ve0_hs0_vs-10_2007-05-02_10-01-10';
                                      'C1G30_he0_ve0_hs0_vs-5_2007-05-02_10-01-28 ';
                                      'C1G30_he0_ve0_hs0_vs0_2007-05-02_10-01-46  ';
                                      'C1G30_he0_ve0_hs0_vs5_2007-05-02_10-02-05  ';
                                      'C1G30_he0_ve0_hs0_vs10_2007-05-02_10-02-24 ']);
                fnMeasBkgr = cellstr(['C1G30_he0_ve0_hs0_vs0_2007-05-02_10-00-49';
                                      'C1G30_he0_ve0_hs0_vs0_2007-05-02_10-00-49';
                                      'C1G30_he0_ve0_hs0_vs0_2007-05-02_10-01-46';
                                      'C1G30_he0_ve0_hs0_vs0_2007-05-02_10-01-46';
                                      'C1G30_he0_ve0_hs0_vs0_2007-05-02_10-01-46']);
            end
        elseif (gap < 0.5*(35 + 40))
            if strcmp(corName, 'CHE')
                fnMeasMain = cellstr(['C1G35_he-10_ve0_hs0_vs0_2007-05-02_10-05-05';
                                      'C1G35_he-5_ve0_hs0_vs0_2007-05-02_10-05-24 ';
                                      'C1G35_he0_ve0_hs0_vs0_2007-05-02_10-05-42  ';
                                      'C1G35_he5_ve0_hs0_vs0_2007-05-02_10-06-01  ';
                                      'C1G35_he10_ve0_hs0_vs0_2007-05-02_10-06-19 ']);
                fnMeasBkgr = cellstr(['C1G35_he0_ve0_hs0_vs0_2007-05-02_10-04-45';
                                      'C1G35_he0_ve0_hs0_vs0_2007-05-02_10-04-45';
                                      'C1G35_he0_ve0_hs0_vs0_2007-05-02_10-05-42';
                                      'C1G35_he0_ve0_hs0_vs0_2007-05-02_10-05-42';
                                      'C1G35_he0_ve0_hs0_vs0_2007-05-02_10-05-42']);
            elseif strcmp(corName, 'CVE')
                fnMeasMain = cellstr(['C1G35_he0_ve-10_hs0_vs0_2007-05-02_10-06-58';
                                      'C1G35_he0_ve-5_hs0_vs0_2007-05-02_10-07-17 ';
                                      'C1G35_he0_ve0_hs0_vs0_2007-05-02_10-07-35  ';
                                      'C1G35_he0_ve5_hs0_vs0_2007-05-02_10-07-54  ';
                                      'C1G35_he0_ve10_hs0_vs0_2007-05-02_10-08-12 ']);
                fnMeasBkgr = cellstr(['C1G35_he0_ve0_hs0_vs0_2007-05-02_10-06-39';
                                      'C1G35_he0_ve0_hs0_vs0_2007-05-02_10-06-39';
                                      'C1G35_he0_ve0_hs0_vs0_2007-05-02_10-07-35';
                                      'C1G35_he0_ve0_hs0_vs0_2007-05-02_10-07-35';
                                      'C1G35_he0_ve0_hs0_vs0_2007-05-02_10-07-35']);
            elseif strcmp(corName, 'CHS')
                fnMeasMain = cellstr(['C1G35_he0_ve0_hs-10_vs0_2007-05-02_10-08-52';
                                      'C1G35_he0_ve0_hs-5_vs0_2007-05-02_10-09-10 ';
                                      'C1G35_he0_ve0_hs0_vs0_2007-05-02_10-09-29  ';
                                      'C1G35_he0_ve0_hs5_vs0_2007-05-02_10-09-47  ';
                                      'C1G35_he0_ve0_hs10_vs0_2007-05-02_10-10-06 ']);
                fnMeasBkgr = cellstr(['C1G35_he0_ve0_hs0_vs0_2007-05-02_10-08-32';
                                      'C1G35_he0_ve0_hs0_vs0_2007-05-02_10-08-32';
                                      'C1G35_he0_ve0_hs0_vs0_2007-05-02_10-09-29';
                                      'C1G35_he0_ve0_hs0_vs0_2007-05-02_10-09-29';
                                      'C1G35_he0_ve0_hs0_vs0_2007-05-02_10-09-29']);
            elseif strcmp(corName, 'CVS')
                fnMeasMain = cellstr(['C1G35_he0_ve0_hs0_vs-10_2007-05-02_10-10-45';
                                      'C1G35_he0_ve0_hs0_vs-5_2007-05-02_10-11-03 ';
                                      'C1G35_he0_ve0_hs0_vs0_2007-05-02_10-11-22  ';
                                      'C1G35_he0_ve0_hs0_vs5_2007-05-02_10-11-41  ';
                                      'C1G35_he0_ve0_hs0_vs10_2007-05-02_10-11-59 ']);
                fnMeasBkgr = cellstr(['C1G35_he0_ve0_hs0_vs0_2007-05-02_10-10-25';
                                      'C1G35_he0_ve0_hs0_vs0_2007-05-02_10-10-25';
                                      'C1G35_he0_ve0_hs0_vs0_2007-05-02_10-11-22';
                                      'C1G35_he0_ve0_hs0_vs0_2007-05-02_10-11-22';
                                      'C1G35_he0_ve0_hs0_vs0_2007-05-02_10-11-22']);
            end
        elseif (gap < 0.5*(40 + 45))
            if strcmp(corName, 'CHE')
                fnMeasMain = cellstr(['C1G40_he-10_ve0_hs0_vs0_2007-05-02_10-21-19';
                                      'C1G40_he-5_ve0_hs0_vs0_2007-05-02_10-21-37 ';
                                      'C1G40_he0_ve0_hs0_vs0_2007-05-02_10-21-56  ';
                                      'C1G40_he5_ve0_hs0_vs0_2007-05-02_10-22-14  ';
                                      'C1G40_he10_ve0_hs0_vs0_2007-05-02_10-22-33 ']);
                fnMeasBkgr = cellstr(['C1G40_he0_ve0_hs0_vs0_2007-05-02_10-20-59';
                                      'C1G40_he0_ve0_hs0_vs0_2007-05-02_10-20-59';
                                      'C1G40_he0_ve0_hs0_vs0_2007-05-02_10-21-56';
                                      'C1G40_he0_ve0_hs0_vs0_2007-05-02_10-21-56';
                                      'C1G40_he0_ve0_hs0_vs0_2007-05-02_10-21-56']);
            elseif strcmp(corName, 'CVE')
                fnMeasMain = cellstr(['C1G40_he0_ve-10_hs0_vs0_2007-05-02_10-23-12';
                                      'C1G40_he0_ve-5_hs0_vs0_2007-05-02_10-23-31 ';
                                      'C1G40_he0_ve0_hs0_vs0_2007-05-02_10-23-49  ';
                                      'C1G40_he0_ve5_hs0_vs0_2007-05-02_10-24-07  ';
                                      'C1G40_he0_ve10_hs0_vs0_2007-05-02_10-24-26 ']);
                fnMeasBkgr = cellstr(['C1G40_he0_ve0_hs0_vs0_2007-05-02_10-22-52';
                                      'C1G40_he0_ve0_hs0_vs0_2007-05-02_10-22-52';
                                      'C1G40_he0_ve0_hs0_vs0_2007-05-02_10-23-49';
                                      'C1G40_he0_ve0_hs0_vs0_2007-05-02_10-23-49';
                                      'C1G40_he0_ve0_hs0_vs0_2007-05-02_10-23-49']);
            elseif strcmp(corName, 'CHS')
                fnMeasMain = cellstr(['C1G40_he0_ve0_hs-10_vs0_2007-05-02_10-25-06';
                                      'C1G40_he0_ve0_hs-5_vs0_2007-05-02_10-25-25 ';
                                      'C1G40_he0_ve0_hs0_vs0_2007-05-02_10-25-43  ';
                                      'C1G40_he0_ve0_hs5_vs0_2007-05-02_10-26-02  ';
                                      'C1G40_he0_ve0_hs10_vs0_2007-05-02_10-26-21 ']);
                fnMeasBkgr = cellstr(['C1G40_he0_ve0_hs0_vs0_2007-05-02_10-24-46';
                                      'C1G40_he0_ve0_hs0_vs0_2007-05-02_10-24-46';
                                      'C1G40_he0_ve0_hs0_vs0_2007-05-02_10-25-43';
                                      'C1G40_he0_ve0_hs0_vs0_2007-05-02_10-25-43';
                                      'C1G40_he0_ve0_hs0_vs0_2007-05-02_10-25-43']);
            elseif strcmp(corName, 'CVS')
                fnMeasMain = cellstr(['C1G40_he0_ve0_hs0_vs-10_2007-05-02_10-27-00';
                                      'C1G40_he0_ve0_hs0_vs-5_2007-05-02_10-27-18 ';
                                      'C1G40_he0_ve0_hs0_vs0_2007-05-02_10-27-37  ';
                                      'C1G40_he0_ve0_hs0_vs5_2007-05-02_10-27-55  ';
                                      'C1G40_he0_ve0_hs0_vs10_2007-05-02_10-28-14 ']);
                fnMeasBkgr = cellstr(['C1G40_he0_ve0_hs0_vs0_2007-05-02_10-26-40';
                                      'C1G40_he0_ve0_hs0_vs0_2007-05-02_10-26-40';
                                      'C1G40_he0_ve0_hs0_vs0_2007-05-02_10-27-37';
                                      'C1G40_he0_ve0_hs0_vs0_2007-05-02_10-27-37';
                                      'C1G40_he0_ve0_hs0_vs0_2007-05-02_10-27-37']);
            end
        elseif (gap < 0.5*(45 + 50))
            if strcmp(corName, 'CHE')
                fnMeasMain = cellstr(['C1G45_he-10_ve0_hs0_vs0_2007-05-02_10-32-01';
                                      'C1G45_he-5_ve0_hs0_vs0_2007-05-02_10-32-19 ';
                                      'C1G45_he0_ve0_hs0_vs0_2007-05-02_10-32-38  ';
                                      'C1G45_he5_ve0_hs0_vs0_2007-05-02_10-32-56  ';
                                      'C1G45_he10_ve0_hs0_vs0_2007-05-02_10-33-15 ']);
                fnMeasBkgr = cellstr(['C1G45_he0_ve0_hs0_vs0_2007-05-02_10-31-42';
                                      'C1G45_he0_ve0_hs0_vs0_2007-05-02_10-31-42';
                                      'C1G45_he0_ve0_hs0_vs0_2007-05-02_10-32-38';
                                      'C1G45_he0_ve0_hs0_vs0_2007-05-02_10-32-38';
                                      'C1G45_he0_ve0_hs0_vs0_2007-05-02_10-32-38']);
            elseif strcmp(corName, 'CVE')
                fnMeasMain = cellstr(['C1G45_he0_ve-10_hs0_vs0_2007-05-02_10-33-56';
                                      'C1G45_he0_ve-5_hs0_vs0_2007-05-02_10-34-15 ';
                                      'C1G45_he0_ve0_hs0_vs0_2007-05-02_10-34-33  ';
                                      'C1G45_he0_ve5_hs0_vs0_2007-05-02_10-34-52  ';
                                      'C1G45_he0_ve10_hs0_vs0_2007-05-02_10-35-10 ']);
                fnMeasBkgr = cellstr(['C1G45_he0_ve0_hs0_vs0_2007-05-02_10-33-36';
                                      'C1G45_he0_ve0_hs0_vs0_2007-05-02_10-33-36';
                                      'C1G45_he0_ve0_hs0_vs0_2007-05-02_10-34-33';
                                      'C1G45_he0_ve0_hs0_vs0_2007-05-02_10-34-33';
                                      'C1G45_he0_ve0_hs0_vs0_2007-05-02_10-34-33']);
                                  
            elseif strcmp(corName, 'CHS')
                fnMeasMain = cellstr(['C1G45_he0_ve0_hs-10_vs0_2007-05-02_10-35-50';
                                      'C1G45_he0_ve0_hs-5_vs0_2007-05-02_10-36-08 ';
                                      'C1G45_he0_ve0_hs0_vs0_2007-05-02_10-36-27  ';
                                      'C1G45_he0_ve0_hs5_vs0_2007-05-02_10-36-46  ';
                                      'C1G45_he0_ve0_hs10_vs0_2007-05-02_10-37-04 ']);
                fnMeasBkgr = cellstr(['C1G45_he0_ve0_hs0_vs0_2007-05-02_10-35-30';
                                      'C1G45_he0_ve0_hs0_vs0_2007-05-02_10-35-30';
                                      'C1G45_he0_ve0_hs0_vs0_2007-05-02_10-36-27';
                                      'C1G45_he0_ve0_hs0_vs0_2007-05-02_10-36-27';
                                      'C1G45_he0_ve0_hs0_vs0_2007-05-02_10-36-27']);
            elseif strcmp(corName, 'CVS')
                fnMeasMain = cellstr(['C1G45_he0_ve0_hs0_vs-10_2007-05-02_10-37-44';
                                      'C1G45_he0_ve0_hs0_vs-5_2007-05-02_10-38-02 ';
                                      'C1G45_he0_ve0_hs0_vs0_2007-05-02_10-38-21  ';
                                      'C1G45_he0_ve0_hs0_vs5_2007-05-02_10-38-40  ';
                                      'C1G45_he0_ve0_hs0_vs10_2007-05-02_10-38-58 ']);
                fnMeasBkgr = cellstr(['C1G45_he0_ve0_hs0_vs0_2007-05-02_10-37-24';
                                      'C1G45_he0_ve0_hs0_vs0_2007-05-02_10-37-24';
                                      'C1G45_he0_ve0_hs0_vs0_2007-05-02_10-38-21';
                                      'C1G45_he0_ve0_hs0_vs0_2007-05-02_10-38-21';
                                      'C1G45_he0_ve0_hs0_vs0_2007-05-02_10-38-21']);
            end
        elseif (gap < 0.5*(50 + 60))
            if strcmp(corName, 'CHE')
                fnMeasMain = cellstr(['C1G50_he-10_ve0_hs0_vs0_2007-05-02_10-44-26';
                                      'C1G50_he-5_ve0_hs0_vs0_2007-05-02_10-44-44 ';
                                      'C1G50_he0_ve0_hs0_vs0_2007-05-02_10-45-03  ';
                                      'C1G50_he5_ve0_hs0_vs0_2007-05-02_10-45-21  ';
                                      'C1G50_he10_ve0_hs0_vs0_2007-05-02_10-45-40 ';]);
                fnMeasBkgr = cellstr(['C1G50_he0_ve0_hs0_vs0_2007-05-02_10-44-05';
                                      'C1G50_he0_ve0_hs0_vs0_2007-05-02_10-44-05';
                                      'C1G50_he0_ve0_hs0_vs0_2007-05-02_10-45-03';
                                      'C1G50_he0_ve0_hs0_vs0_2007-05-02_10-45-03';
                                      'C1G50_he0_ve0_hs0_vs0_2007-05-02_10-45-03';]);
            elseif strcmp(corName, 'CVE')
                fnMeasMain = cellstr(['C1G50_he0_ve-10_hs0_vs0_2007-05-02_10-46-19';
                                      'C1G50_he0_ve-5_hs0_vs0_2007-05-02_10-46-37 ';
                                      'C1G50_he0_ve0_hs0_vs0_2007-05-02_10-46-56  ';
                                      'C1G50_he0_ve5_hs0_vs0_2007-05-02_10-47-14  ';
                                      'C1G50_he0_ve10_hs0_vs0_2007-05-02_10-47-33 ';]);
                fnMeasBkgr = cellstr(['C1G50_he0_ve0_hs0_vs0_2007-05-02_10-45-59';
                                      'C1G50_he0_ve0_hs0_vs0_2007-05-02_10-45-59';
                                      'C1G50_he0_ve0_hs0_vs0_2007-05-02_10-46-56';
                                      'C1G50_he0_ve0_hs0_vs0_2007-05-02_10-46-56';
                                      'C1G50_he0_ve0_hs0_vs0_2007-05-02_10-46-56';]);
            elseif strcmp(corName, 'CHS')
                fnMeasMain = cellstr(['C1G50_he0_ve0_hs-10_vs0_2007-05-02_10-48-13';
                                      'C1G50_he0_ve0_hs-5_vs0_2007-05-02_10-48-32 ';
                                      'C1G50_he0_ve0_hs0_vs0_2007-05-02_10-48-50  ';
                                      'C1G50_he0_ve0_hs5_vs0_2007-05-02_10-49-09  ';
                                      'C1G50_he0_ve0_hs10_vs0_2007-05-02_10-49-28 ';]);
                fnMeasBkgr = cellstr(['C1G50_he0_ve0_hs0_vs0_2007-05-02_10-47-54';
                                      'C1G50_he0_ve0_hs0_vs0_2007-05-02_10-47-54';
                                      'C1G50_he0_ve0_hs0_vs0_2007-05-02_10-48-50';
                                      'C1G50_he0_ve0_hs0_vs0_2007-05-02_10-48-50';
                                      'C1G50_he0_ve0_hs0_vs0_2007-05-02_10-48-50';]);
            elseif strcmp(corName, 'CVS')
                fnMeasMain = cellstr(['C1G50_he0_ve0_hs0_vs-10_2007-05-02_10-50-08';
                                      'C1G50_he0_ve0_hs0_vs-5_2007-05-02_10-50-26 ';
                                      'C1G50_he0_ve0_hs0_vs0_2007-05-02_10-50-45  ';
                                      'C1G50_he0_ve0_hs0_vs5_2007-05-02_10-51-04  ';
                                      'C1G50_he0_ve0_hs0_vs10_2007-05-02_10-51-22 ';]);
                fnMeasBkgr = cellstr(['C1G50_he0_ve0_hs0_vs0_2007-05-02_10-49-48';
                                      'C1G50_he0_ve0_hs0_vs0_2007-05-02_10-49-48';
                                      'C1G50_he0_ve0_hs0_vs0_2007-05-02_10-50-45';
                                      'C1G50_he0_ve0_hs0_vs0_2007-05-02_10-50-45';
                                      'C1G50_he0_ve0_hs0_vs0_2007-05-02_10-50-45';]);
            end
        elseif (gap < 0.5*(60 + 70))
            if strcmp(corName, 'CHE')
                fnMeasMain = cellstr(['C1G60_he-10_ve0_hs0_vs0_2007-05-02_10-57-33';
                                      'C1G60_he-5_ve0_hs0_vs0_2007-05-02_10-57-51 ';
                                      'C1G60_he0_ve0_hs0_vs0_2007-05-02_10-58-10  ';
                                      'C1G60_he5_ve0_hs0_vs0_2007-05-02_10-58-29  ';
                                      'C1G60_he10_ve0_hs0_vs0_2007-05-02_10-58-47 ';]);
                fnMeasBkgr = cellstr(['C1G60_he0_ve0_hs0_vs0_2007-05-02_10-57-13';
                                      'C1G60_he0_ve0_hs0_vs0_2007-05-02_10-57-13';
                                      'C1G60_he0_ve0_hs0_vs0_2007-05-02_10-58-10';
                                      'C1G60_he0_ve0_hs0_vs0_2007-05-02_10-58-10';
                                      'C1G60_he0_ve0_hs0_vs0_2007-05-02_10-58-10';]);
            elseif strcmp(corName, 'CVE')
                fnMeasMain = cellstr(['C1G60_he0_ve-10_hs0_vs0_2007-05-02_10-59-27';
                                      'C1G60_he0_ve-5_hs0_vs0_2007-05-02_10-59-46 ';
                                      'C1G60_he0_ve0_hs0_vs0_2007-05-02_11-00-04  ';
                                      'C1G60_he0_ve5_hs0_vs0_2007-05-02_11-00-23  ';
                                      'C1G60_he0_ve10_hs0_vs0_2007-05-02_11-00-41 ';]);
                fnMeasBkgr = cellstr(['C1G60_he0_ve0_hs0_vs0_2007-05-02_10-59-07';
                                      'C1G60_he0_ve0_hs0_vs0_2007-05-02_10-59-07';
                                      'C1G60_he0_ve0_hs0_vs0_2007-05-02_11-00-04';
                                      'C1G60_he0_ve0_hs0_vs0_2007-05-02_11-00-04';
                                      'C1G60_he0_ve0_hs0_vs0_2007-05-02_11-00-04';]);
            elseif strcmp(corName, 'CHS')
                fnMeasMain = cellstr(['C1G60_he0_ve0_hs-10_vs0_2007-05-02_11-01-20';
                                      'C1G60_he0_ve0_hs-5_vs0_2007-05-02_11-01-39 ';
                                      'C1G60_he0_ve0_hs0_vs0_2007-05-02_11-01-58  ';
                                      'C1G60_he0_ve0_hs5_vs0_2007-05-02_11-02-17  ';
                                      'C1G60_he0_ve0_hs10_vs0_2007-05-02_11-02-36 ';]);
                fnMeasBkgr = cellstr(['C1G60_he0_ve0_hs0_vs0_2007-05-02_11-01-01';
                                      'C1G60_he0_ve0_hs0_vs0_2007-05-02_11-01-01';
                                      'C1G60_he0_ve0_hs0_vs0_2007-05-02_11-01-58';
                                      'C1G60_he0_ve0_hs0_vs0_2007-05-02_11-01-58';
                                      'C1G60_he0_ve0_hs0_vs0_2007-05-02_11-01-58';]);
            elseif strcmp(corName, 'CVS')
                fnMeasMain = cellstr(['C1G60_he0_ve0_hs0_vs-10_2007-05-02_11-03-16';
                                      'C1G60_he0_ve0_hs0_vs-5_2007-05-02_11-03-35 ';
                                      'C1G60_he0_ve0_hs0_vs0_2007-05-02_11-03-53  ';
                                      'C1G60_he0_ve0_hs0_vs5_2007-05-02_11-04-11  ';
                                      'C1G60_he0_ve0_hs0_vs10_2007-05-02_11-04-31 ';]);
                fnMeasBkgr = cellstr(['C1G60_he0_ve0_hs0_vs0_2007-05-02_11-02-55';
                                      'C1G60_he0_ve0_hs0_vs0_2007-05-02_11-02-55';
                                      'C1G60_he0_ve0_hs0_vs0_2007-05-02_11-03-53';
                                      'C1G60_he0_ve0_hs0_vs0_2007-05-02_11-03-53';
                                      'C1G60_he0_ve0_hs0_vs0_2007-05-02_11-03-53';]);
            end
        elseif (gap < 0.5*(70 + 80))
            if strcmp(corName, 'CHE')
                fnMeasMain = cellstr(['C1G70_he-10_ve0_hs0_vs0_2007-05-02_11-07-48';
                                      'C1G70_he-5_ve0_hs0_vs0_2007-05-02_11-08-07 ';
                                      'C1G70_he0_ve0_hs0_vs0_2007-05-02_11-08-25  ';
                                      'C1G70_he5_ve0_hs0_vs0_2007-05-02_11-08-44  ';
                                      'C1G70_he10_ve0_hs0_vs0_2007-05-02_11-09-02 ']);
                fnMeasBkgr = cellstr(['C1G70_he0_ve0_hs0_vs0_2007-05-02_11-07-29';
                                      'C1G70_he0_ve0_hs0_vs0_2007-05-02_11-07-29';
                                      'C1G70_he0_ve0_hs0_vs0_2007-05-02_11-08-25';
                                      'C1G70_he0_ve0_hs0_vs0_2007-05-02_11-08-25';
                                      'C1G70_he0_ve0_hs0_vs0_2007-05-02_11-08-25']);
            elseif strcmp(corName, 'CVE')
                fnMeasMain = cellstr(['C1G70_he0_ve-10_hs0_vs0_2007-05-02_11-09-41';
                                      'C1G70_he0_ve-5_hs0_vs0_2007-05-02_11-09-59 ';
                                      'C1G70_he0_ve0_hs0_vs0_2007-05-02_11-10-18  ';
                                      'C1G70_he0_ve5_hs0_vs0_2007-05-02_11-10-37  ';
                                      'C1G70_he0_ve10_hs0_vs0_2007-05-02_11-10-55 ']);
                fnMeasBkgr = cellstr(['C1G70_he0_ve0_hs0_vs0_2007-05-02_11-09-21';
                                      'C1G70_he0_ve0_hs0_vs0_2007-05-02_11-09-21';
                                      'C1G70_he0_ve0_hs0_vs0_2007-05-02_11-10-18';
                                      'C1G70_he0_ve0_hs0_vs0_2007-05-02_11-10-18';
                                      'C1G70_he0_ve0_hs0_vs0_2007-05-02_11-10-18']);
            elseif strcmp(corName, 'CHS')
                fnMeasMain = cellstr(['C1G70_he0_ve0_hs-10_vs0_2007-05-02_11-11-34';
                                      'C1G70_he0_ve0_hs-5_vs0_2007-05-02_11-11-53 ';
                                      'C1G70_he0_ve0_hs0_vs0_2007-05-02_11-12-11  ';
                                      'C1G70_he0_ve0_hs5_vs0_2007-05-02_11-12-30  ';
                                      'C1G70_he0_ve0_hs10_vs0_2007-05-02_11-12-49 ']);
                fnMeasBkgr = cellstr(['C1G70_he0_ve0_hs0_vs0_2007-05-02_11-11-15';
                                      'C1G70_he0_ve0_hs0_vs0_2007-05-02_11-11-15';
                                      'C1G70_he0_ve0_hs0_vs0_2007-05-02_11-12-11';
                                      'C1G70_he0_ve0_hs0_vs0_2007-05-02_11-12-11';
                                      'C1G70_he0_ve0_hs0_vs0_2007-05-02_11-12-11']);
            elseif strcmp(corName, 'CVS')
                fnMeasMain = cellstr(['C1G70_he0_ve0_hs0_vs-10_2007-05-02_11-13-28';
                                      'C1G70_he0_ve0_hs0_vs-5_2007-05-02_11-13-46 ';
                                      'C1G70_he0_ve0_hs0_vs0_2007-05-02_11-14-05  ';
                                      'C1G70_he0_ve0_hs0_vs5_2007-05-02_11-14-24  ';
                                      'C1G70_he0_ve0_hs0_vs10_2007-05-02_11-14-42 ']);
                fnMeasBkgr = cellstr(['C1G70_he0_ve0_hs0_vs0_2007-05-02_11-13-08';
                                      'C1G70_he0_ve0_hs0_vs0_2007-05-02_11-13-08';
                                      'C1G70_he0_ve0_hs0_vs0_2007-05-02_11-14-05';
                                      'C1G70_he0_ve0_hs0_vs0_2007-05-02_11-14-05';
                                      'C1G70_he0_ve0_hs0_vs0_2007-05-02_11-14-05']);
            end
        elseif (gap < 0.5*(80 + 90))
            if strcmp(corName, 'CHE')
                fnMeasMain = cellstr(['C1G80_he-10_ve0_hs0_vs0_2007-05-02_11-19-04';
                                      'C1G80_he-5_ve0_hs0_vs0_2007-05-02_11-19-23 ';
                                      'C1G80_he0_ve0_hs0_vs0_2007-05-02_11-19-42  ';
                                      'C1G80_he5_ve0_hs0_vs0_2007-05-02_11-20-00  ';
                                      'C1G80_he10_ve0_hs0_vs0_2007-05-02_11-20-20 ']);
                fnMeasBkgr = cellstr(['C1G80_he0_ve0_hs0_vs0_2007-05-02_11-18-44';
                                      'C1G80_he0_ve0_hs0_vs0_2007-05-02_11-18-44';
                                      'C1G80_he0_ve0_hs0_vs0_2007-05-02_11-19-42';
                                      'C1G80_he0_ve0_hs0_vs0_2007-05-02_11-19-42';
                                      'C1G80_he0_ve0_hs0_vs0_2007-05-02_11-19-42']);
            elseif strcmp(corName, 'CVE')
                fnMeasMain = cellstr(['C1G80_he0_ve-10_hs0_vs0_2007-05-02_11-20-59';
                                      'C1G80_he0_ve-5_hs0_vs0_2007-05-02_11-21-17 ';
                                      'C1G80_he0_ve0_hs0_vs0_2007-05-02_11-21-36  ';
                                      'C1G80_he0_ve5_hs0_vs0_2007-05-02_11-21-54  ';
                                      'C1G80_he0_ve10_hs0_vs0_2007-05-02_11-22-13 ']);
                fnMeasBkgr = cellstr(['C1G80_he0_ve0_hs0_vs0_2007-05-02_11-20-39';
                                      'C1G80_he0_ve0_hs0_vs0_2007-05-02_11-20-39';
                                      'C1G80_he0_ve0_hs0_vs0_2007-05-02_11-21-36';
                                      'C1G80_he0_ve0_hs0_vs0_2007-05-02_11-21-36';
                                      'C1G80_he0_ve0_hs0_vs0_2007-05-02_11-21-36']);
            elseif strcmp(corName, 'CHS')
                fnMeasMain = cellstr(['C1G80_he0_ve0_hs-10_vs0_2007-05-02_11-22-52';
                                      'C1G80_he0_ve0_hs-5_vs0_2007-05-02_11-23-10 ';
                                      'C1G80_he0_ve0_hs0_vs0_2007-05-02_11-23-29  ';
                                      'C1G80_he0_ve0_hs5_vs0_2007-05-02_11-23-48  ';
                                      'C1G80_he0_ve0_hs10_vs0_2007-05-02_11-24-06 ']);
                fnMeasBkgr = cellstr(['C1G80_he0_ve0_hs0_vs0_2007-05-02_11-22-32';
                                      'C1G80_he0_ve0_hs0_vs0_2007-05-02_11-22-32';
                                      'C1G80_he0_ve0_hs0_vs0_2007-05-02_11-23-29';
                                      'C1G80_he0_ve0_hs0_vs0_2007-05-02_11-23-29';
                                      'C1G80_he0_ve0_hs0_vs0_2007-05-02_11-23-29']);
            elseif strcmp(corName, 'CVS')
                fnMeasMain = cellstr(['C1G80_he0_ve0_hs0_vs-10_2007-05-02_11-24-46';
                                      'C1G80_he0_ve0_hs0_vs-5_2007-05-02_11-25-04 ';
                                      'C1G80_he0_ve0_hs0_vs0_2007-05-02_11-25-23  ';
                                      'C1G80_he0_ve0_hs0_vs5_2007-05-02_11-25-42  ';
                                      'C1G80_he0_ve0_hs0_vs10_2007-05-02_11-26-00 ']);
                fnMeasBkgr = cellstr(['C1G80_he0_ve0_hs0_vs0_2007-05-02_11-24-26';
                                      'C1G80_he0_ve0_hs0_vs0_2007-05-02_11-24-26';
                                      'C1G80_he0_ve0_hs0_vs0_2007-05-02_11-25-23';
                                      'C1G80_he0_ve0_hs0_vs0_2007-05-02_11-25-23';
                                      'C1G80_he0_ve0_hs0_vs0_2007-05-02_11-25-23']);
            end
        elseif (gap < 0.5*(90 + 100))
            if strcmp(corName, 'CHE')
                fnMeasMain = cellstr(['C1G90_he-10_ve0_hs0_vs0_2007-05-02_12-10-14';
                                      'C1G90_he-5_ve0_hs0_vs0_2007-05-02_12-10-33 ';
                                      'C1G90_he0_ve0_hs0_vs0_2007-05-02_12-10-51  ';
                                      'C1G90_he5_ve0_hs0_vs0_2007-05-02_12-11-10  ';
                                      'C1G90_he10_ve0_hs0_vs0_2007-05-02_12-11-28 ']);
                fnMeasBkgr = cellstr(['C1G90_he0_ve0_hs0_vs0_2007-05-02_12-09-53';
                                      'C1G90_he0_ve0_hs0_vs0_2007-05-02_12-09-53';
                                      'C1G90_he0_ve0_hs0_vs0_2007-05-02_12-10-51';
                                      'C1G90_he0_ve0_hs0_vs0_2007-05-02_12-10-51';
                                      'C1G90_he0_ve0_hs0_vs0_2007-05-02_12-10-51']);
            elseif strcmp(corName, 'CVE')
                fnMeasMain = cellstr(['C1G90_he0_ve-10_hs0_vs0_2007-05-02_12-12-08';
                                      'C1G90_he0_ve-5_hs0_vs0_2007-05-02_12-12-26 ';
                                      'C1G90_he0_ve0_hs0_vs0_2007-05-02_12-12-45  ';
                                      'C1G90_he0_ve5_hs0_vs0_2007-05-02_12-13-03  ';
                                      'C1G90_he0_ve10_hs0_vs0_2007-05-02_12-13-22 ']);
                fnMeasBkgr = cellstr(['C1G90_he0_ve0_hs0_vs0_2007-05-02_12-11-48';
                                      'C1G90_he0_ve0_hs0_vs0_2007-05-02_12-11-48';
                                      'C1G90_he0_ve0_hs0_vs0_2007-05-02_12-12-45';
                                      'C1G90_he0_ve0_hs0_vs0_2007-05-02_12-12-45';
                                      'C1G90_he0_ve0_hs0_vs0_2007-05-02_12-12-45']);
            elseif strcmp(corName, 'CHS')
                fnMeasMain = cellstr(['C1G90_he0_ve0_hs-10_vs0_2007-05-02_12-14-01';
                                      'C1G90_he0_ve0_hs-5_vs0_2007-05-02_12-14-20 ';
                                      'C1G90_he0_ve0_hs0_vs0_2007-05-02_12-14-38  ';
                                      'C1G90_he0_ve0_hs5_vs0_2007-05-02_12-14-57  ';
                                      'C1G90_he0_ve0_hs10_vs0_2007-05-02_12-15-16 ']);
                fnMeasBkgr = cellstr(['C1G90_he0_ve0_hs0_vs0_2007-05-02_12-13-41';
                                      'C1G90_he0_ve0_hs0_vs0_2007-05-02_12-13-41';
                                      'C1G90_he0_ve0_hs0_vs0_2007-05-02_12-14-38';
                                      'C1G90_he0_ve0_hs0_vs0_2007-05-02_12-14-38';
                                      'C1G90_he0_ve0_hs0_vs0_2007-05-02_12-14-38']);
            elseif strcmp(corName, 'CVS')
                fnMeasMain = cellstr(['C1G90_he0_ve0_hs0_vs-10_2007-05-02_12-15-55';
                                      'C1G90_he0_ve0_hs0_vs-5_2007-05-02_12-16-14 ';
                                      'C1G90_he0_ve0_hs0_vs0_2007-05-02_12-16-33  ';
                                      'C1G90_he0_ve0_hs0_vs5_2007-05-02_12-16-51  ';
                                      'C1G90_he0_ve0_hs0_vs10_2007-05-02_12-17-10 ']);
                fnMeasBkgr = cellstr(['C1G90_he0_ve0_hs0_vs0_2007-05-02_12-15-35';
                                      'C1G90_he0_ve0_hs0_vs0_2007-05-02_12-15-35';
                                      'C1G90_he0_ve0_hs0_vs0_2007-05-02_12-16-33';
                                      'C1G90_he0_ve0_hs0_vs0_2007-05-02_12-16-33';
                                      'C1G90_he0_ve0_hs0_vs0_2007-05-02_12-16-33']);
            end
        elseif (gap < 0.5*(100 + 110))
            if strcmp(corName, 'CHE')
                fnMeasMain = cellstr(['C1G100_he-10_ve0_hs0_vs0_2007-05-02_12-20-22';
                                      'C1G100_he-5_ve0_hs0_vs0_2007-05-02_12-20-41 ';
                                      'C1G100_he0_ve0_hs0_vs0_2007-05-02_12-20-59  ';
                                      'C1G100_he5_ve0_hs0_vs0_2007-05-02_12-21-18  ';
                                      'C1G100_he10_ve0_hs0_vs0_2007-05-02_12-21-37 ']);
                fnMeasBkgr = cellstr(['C1G100_he0_ve0_hs0_vs0_2007-05-02_12-20-03';
                                      'C1G100_he0_ve0_hs0_vs0_2007-05-02_12-20-03';
                                      'C1G100_he0_ve0_hs0_vs0_2007-05-02_12-20-59';
                                      'C1G100_he0_ve0_hs0_vs0_2007-05-02_12-20-59';
                                      'C1G100_he0_ve0_hs0_vs0_2007-05-02_12-20-59']);
            elseif strcmp(corName, 'CVE')
                fnMeasMain = cellstr(['C1G100_he0_ve-10_hs0_vs0_2007-05-02_12-22-17';
                                      'C1G100_he0_ve-5_hs0_vs0_2007-05-02_12-22-35 ';
                                      'C1G100_he0_ve0_hs0_vs0_2007-05-02_12-22-54  ';
                                      'C1G100_he0_ve5_hs0_vs0_2007-05-02_12-23-13  ';
                                      'C1G100_he0_ve10_hs0_vs0_2007-05-02_12-23-31 ']);
                fnMeasBkgr = cellstr(['C1G100_he0_ve0_hs0_vs0_2007-05-02_12-21-57';
                                      'C1G100_he0_ve0_hs0_vs0_2007-05-02_12-21-57';
                                      'C1G100_he0_ve0_hs0_vs0_2007-05-02_12-22-54';
                                      'C1G100_he0_ve0_hs0_vs0_2007-05-02_12-22-54';
                                      'C1G100_he0_ve0_hs0_vs0_2007-05-02_12-22-54']);
            elseif strcmp(corName, 'CHS')
                fnMeasMain = cellstr(['C1G100_he0_ve0_hs-10_vs0_2007-05-02_12-24-10';
                                      'C1G100_he0_ve0_hs-5_vs0_2007-05-02_12-24-29 ';
                                      'C1G100_he0_ve0_hs0_vs0_2007-05-02_12-24-47  ';
                                      'C1G100_he0_ve0_hs5_vs0_2007-05-02_12-25-06  ';
                                      'C1G100_he0_ve0_hs10_vs0_2007-05-02_12-25-24 ']);
                fnMeasBkgr = cellstr(['C1G100_he0_ve0_hs0_vs0_2007-05-02_12-23-51';
                                      'C1G100_he0_ve0_hs0_vs0_2007-05-02_12-23-51';
                                      'C1G100_he0_ve0_hs0_vs0_2007-05-02_12-24-47';
                                      'C1G100_he0_ve0_hs0_vs0_2007-05-02_12-24-47';
                                      'C1G100_he0_ve0_hs0_vs0_2007-05-02_12-24-47']);
            elseif strcmp(corName, 'CVS')
                fnMeasMain = cellstr(['C1G100_he0_ve0_hs0_vs-10_2007-05-02_12-26-04';
                                      'C1G100_he0_ve0_hs0_vs-5_2007-05-02_12-26-23 ';
                                      'C1G100_he0_ve0_hs0_vs0_2007-05-02_12-26-41  ';
                                      'C1G100_he0_ve0_hs0_vs5_2007-05-02_12-27-00  ';
                                      'C1G100_he0_ve0_hs0_vs10_2007-05-02_12-27-18 ']);
                fnMeasBkgr = cellstr(['C1G100_he0_ve0_hs0_vs0_2007-05-02_12-25-44';
                                      'C1G100_he0_ve0_hs0_vs0_2007-05-02_12-25-44';
                                      'C1G100_he0_ve0_hs0_vs0_2007-05-02_12-26-41';
                                      'C1G100_he0_ve0_hs0_vs0_2007-05-02_12-26-41';
                                      'C1G100_he0_ve0_hs0_vs0_2007-05-02_12-26-41']);
            end
        elseif (gap < 0.5*(110 + 120))
            if strcmp(corName, 'CHE')
                fnMeasMain = cellstr(['C1G110_he-10_ve0_hs0_vs0_2007-05-02_12-30-53';
                                      'C1G110_he-5_ve0_hs0_vs0_2007-05-02_12-31-11 ';
                                      'C1G110_he0_ve0_hs0_vs0_2007-05-02_12-31-30  ';
                                      'C1G110_he5_ve0_hs0_vs0_2007-05-02_12-31-49  ';
                                      'C1G110_he10_ve0_hs0_vs0_2007-05-02_12-32-07 ']);
                fnMeasBkgr = cellstr(['C1G110_he0_ve0_hs0_vs0_2007-05-02_12-30-33';
                                      'C1G110_he0_ve0_hs0_vs0_2007-05-02_12-30-33';
                                      'C1G110_he0_ve0_hs0_vs0_2007-05-02_12-31-30';
                                      'C1G110_he0_ve0_hs0_vs0_2007-05-02_12-31-30';
                                      'C1G110_he0_ve0_hs0_vs0_2007-05-02_12-31-30']);
            elseif strcmp(corName, 'CVE')
                fnMeasMain = cellstr(['C1G110_he0_ve-10_hs0_vs0_2007-05-02_12-32-46';
                                      'C1G110_he0_ve-5_hs0_vs0_2007-05-02_12-33-05 ';
                                      'C1G110_he0_ve0_hs0_vs0_2007-05-02_12-33-24  ';
                                      'C1G110_he0_ve5_hs0_vs0_2007-05-02_12-33-42  ';
                                      'C1G110_he0_ve10_hs0_vs0_2007-05-02_12-34-01 ']);
                fnMeasBkgr = cellstr(['C1G110_he0_ve0_hs0_vs0_2007-05-02_12-32-27';
                                      'C1G110_he0_ve0_hs0_vs0_2007-05-02_12-32-27';
                                      'C1G110_he0_ve0_hs0_vs0_2007-05-02_12-33-24';
                                      'C1G110_he0_ve0_hs0_vs0_2007-05-02_12-33-24';
                                      'C1G110_he0_ve0_hs0_vs0_2007-05-02_12-33-24']);
            elseif strcmp(corName, 'CHS')
                fnMeasMain = cellstr(['C1G110_he0_ve0_hs-10_vs0_2007-05-02_12-34-41';
                                      'C1G110_he0_ve0_hs-5_vs0_2007-05-02_12-34-59 ';
                                      'C1G110_he0_ve0_hs0_vs0_2007-05-02_12-35-18  ';
                                      'C1G110_he0_ve0_hs5_vs0_2007-05-02_12-35-36  ';
                                      'C1G110_he0_ve0_hs10_vs0_2007-05-02_12-35-56 ']);
                fnMeasBkgr = cellstr(['C1G110_he0_ve0_hs0_vs0_2007-05-02_12-34-20';
                                      'C1G110_he0_ve0_hs0_vs0_2007-05-02_12-34-20';
                                      'C1G110_he0_ve0_hs0_vs0_2007-05-02_12-35-18';
                                      'C1G110_he0_ve0_hs0_vs0_2007-05-02_12-35-18';
                                      'C1G110_he0_ve0_hs0_vs0_2007-05-02_12-35-18']);
            elseif strcmp(corName, 'CVS')
                fnMeasMain = cellstr(['C1G110_he0_ve0_hs0_vs-10_2007-05-02_12-36-35';
                                      'C1G110_he0_ve0_hs0_vs-5_2007-05-02_12-36-54 ';
                                      'C1G110_he0_ve0_hs0_vs0_2007-05-02_12-37-12  ';
                                      'C1G110_he0_ve0_hs0_vs5_2007-05-02_12-37-31  ';
                                      'C1G110_he0_ve0_hs0_vs10_2007-05-02_12-37-49 ']);
                fnMeasBkgr = cellstr(['C1G110_he0_ve0_hs0_vs0_2007-05-02_12-36-15';
                                      'C1G110_he0_ve0_hs0_vs0_2007-05-02_12-36-15';
                                      'C1G110_he0_ve0_hs0_vs0_2007-05-02_12-37-12';
                                      'C1G110_he0_ve0_hs0_vs0_2007-05-02_12-37-12';
                                      'C1G110_he0_ve0_hs0_vs0_2007-05-02_12-37-12']);
            end
        elseif (gap < 0.5*(120 + 130))
            if strcmp(corName, 'CHE')
                fnMeasMain = cellstr(['C1G120_he-10_ve0_hs0_vs0_2007-05-02_12-40-03';
                                      'C1G120_he-5_ve0_hs0_vs0_2007-05-02_12-40-22 ';
                                      'C1G120_he0_ve0_hs0_vs0_2007-05-02_12-40-40  ';
                                      'C1G120_he5_ve0_hs0_vs0_2007-05-02_12-40-59  ';
                                      'C1G120_he10_ve0_hs0_vs0_2007-05-02_12-41-17 ']);
                fnMeasBkgr = cellstr(['C1G120_he0_ve0_hs0_vs0_2007-05-02_12-39-44';
                                      'C1G120_he0_ve0_hs0_vs0_2007-05-02_12-39-44';
                                      'C1G120_he0_ve0_hs0_vs0_2007-05-02_12-40-40';
                                      'C1G120_he0_ve0_hs0_vs0_2007-05-02_12-40-40';
                                      'C1G120_he0_ve0_hs0_vs0_2007-05-02_12-40-40']);
            elseif strcmp(corName, 'CVE')
                fnMeasMain = cellstr(['C1G120_he0_ve-10_hs0_vs0_2007-05-02_12-41-58';
                                      'C1G120_he0_ve-5_hs0_vs0_2007-05-02_12-42-16 ';
                                      'C1G120_he0_ve0_hs0_vs0_2007-05-02_12-42-35  ';
                                      'C1G120_he0_ve5_hs0_vs0_2007-05-02_12-42-54  ';
                                      'C1G120_he0_ve10_hs0_vs0_2007-05-02_12-43-12 ']);
                fnMeasBkgr = cellstr(['C1G120_he0_ve0_hs0_vs0_2007-05-02_12-41-38';
                                      'C1G120_he0_ve0_hs0_vs0_2007-05-02_12-41-38';
                                      'C1G120_he0_ve0_hs0_vs0_2007-05-02_12-42-35';
                                      'C1G120_he0_ve0_hs0_vs0_2007-05-02_12-42-35';
                                      'C1G120_he0_ve0_hs0_vs0_2007-05-02_12-42-35']);
            elseif strcmp(corName, 'CHS')
                fnMeasMain = cellstr(['C1G120_he0_ve0_hs-10_vs0_2007-05-02_12-43-53';
                                      'C1G120_he0_ve0_hs-5_vs0_2007-05-02_12-44-11 ';
                                      'C1G120_he0_ve0_hs0_vs0_2007-05-02_12-44-30  ';
                                      'C1G120_he0_ve0_hs5_vs0_2007-05-02_12-44-48  ';
                                      'C1G120_he0_ve0_hs10_vs0_2007-05-02_12-45-08 ']);
                fnMeasBkgr = cellstr(['C1G120_he0_ve0_hs0_vs0_2007-05-02_12-43-33';
                                      'C1G120_he0_ve0_hs0_vs0_2007-05-02_12-43-33';
                                      'C1G120_he0_ve0_hs0_vs0_2007-05-02_12-44-30';
                                      'C1G120_he0_ve0_hs0_vs0_2007-05-02_12-44-30';
                                      'C1G120_he0_ve0_hs0_vs0_2007-05-02_12-44-30']);
            elseif strcmp(corName, 'CVS')
                fnMeasMain = cellstr(['C1G120_he0_ve0_hs0_vs-10_2007-05-02_12-45-47';
                                      'C1G120_he0_ve0_hs0_vs-5_2007-05-02_12-46-06 ';
                                      'C1G120_he0_ve0_hs0_vs0_2007-05-02_12-46-25  ';
                                      'C1G120_he0_ve0_hs0_vs5_2007-05-02_12-46-43  ';
                                      'C1G120_he0_ve0_hs0_vs10_2007-05-02_12-47-03 ']);
                fnMeasBkgr = cellstr(['C1G120_he0_ve0_hs0_vs0_2007-05-02_12-45-27';
                                      'C1G120_he0_ve0_hs0_vs0_2007-05-02_12-45-27';
                                      'C1G120_he0_ve0_hs0_vs0_2007-05-02_12-46-25';
                                      'C1G120_he0_ve0_hs0_vs0_2007-05-02_12-46-25';
                                      'C1G120_he0_ve0_hs0_vs0_2007-05-02_12-46-25']);
            end
        elseif (gap < 0.5*(130 + 150))
            if strcmp(corName, 'CHE')
                fnMeasMain = cellstr(['C1G130_he-10_ve0_hs0_vs0_2007-05-02_12-49-21';
                                      'C1G130_he-5_ve0_hs0_vs0_2007-05-02_12-49-39 ';
                                      'C1G130_he0_ve0_hs0_vs0_2007-05-02_12-49-58  ';
                                      'C1G130_he5_ve0_hs0_vs0_2007-05-02_12-50-17  ';
                                      'C1G130_he10_ve0_hs0_vs0_2007-05-02_12-50-35 ']);
                fnMeasBkgr = cellstr(['C1G130_he0_ve0_hs0_vs0_2007-05-02_12-49-01';
                                      'C1G130_he0_ve0_hs0_vs0_2007-05-02_12-49-01';
                                      'C1G130_he0_ve0_hs0_vs0_2007-05-02_12-49-58';
                                      'C1G130_he0_ve0_hs0_vs0_2007-05-02_12-49-58';
                                      'C1G130_he0_ve0_hs0_vs0_2007-05-02_12-49-58']);
            elseif strcmp(corName, 'CVE')
                fnMeasMain = cellstr(['C1G130_he0_ve-10_hs0_vs0_2007-05-02_12-51-16';
                                      'C1G130_he0_ve-5_hs0_vs0_2007-05-02_12-51-34 ';
                                      'C1G130_he0_ve0_hs0_vs0_2007-05-02_12-51-53  ';
                                      'C1G130_he0_ve5_hs0_vs0_2007-05-02_12-52-12  ';
                                      'C1G130_he0_ve10_hs0_vs0_2007-05-02_12-52-30 ']);
                fnMeasBkgr = cellstr(['C1G130_he0_ve0_hs0_vs0_2007-05-02_12-50-56';
                                      'C1G130_he0_ve0_hs0_vs0_2007-05-02_12-50-56';
                                      'C1G130_he0_ve0_hs0_vs0_2007-05-02_12-51-53';
                                      'C1G130_he0_ve0_hs0_vs0_2007-05-02_12-51-53';
                                      'C1G130_he0_ve0_hs0_vs0_2007-05-02_12-51-53']);
            elseif strcmp(corName, 'CHS')
                fnMeasMain = cellstr(['C1G130_he0_ve0_hs-10_vs0_2007-05-02_12-53-09';
                                      'C1G130_he0_ve0_hs-5_vs0_2007-05-02_12-53-28 ';
                                      'C1G130_he0_ve0_hs0_vs0_2007-05-02_12-53-46  ';
                                      'C1G130_he0_ve0_hs5_vs0_2007-05-02_12-54-05  ';
                                      'C1G130_he0_ve0_hs10_vs0_2007-05-02_12-54-24 ']);
                fnMeasBkgr = cellstr(['C1G130_he0_ve0_hs0_vs0_2007-05-02_12-52-50';
                                      'C1G130_he0_ve0_hs0_vs0_2007-05-02_12-52-50';
                                      'C1G130_he0_ve0_hs0_vs0_2007-05-02_12-53-46';
                                      'C1G130_he0_ve0_hs0_vs0_2007-05-02_12-53-46';
                                      'C1G130_he0_ve0_hs0_vs0_2007-05-02_12-53-46']);
            elseif strcmp(corName, 'CVS')
                fnMeasMain = cellstr(['C1G130_he0_ve0_hs0_vs-10_2007-05-02_12-55-04';
                                      'C1G130_he0_ve0_hs0_vs-5_2007-05-02_12-55-23 ';
                                      'C1G130_he0_ve0_hs0_vs0_2007-05-02_12-55-41  ';
                                      'C1G130_he0_ve0_hs0_vs5_2007-05-02_12-56-00  ';
                                      'C1G130_he0_ve0_hs0_vs10_2007-05-02_12-56-19 ']);
                fnMeasBkgr = cellstr(['C1G130_he0_ve0_hs0_vs0_2007-05-02_12-54-45';
                                      'C1G130_he0_ve0_hs0_vs0_2007-05-02_12-54-45';
                                      'C1G130_he0_ve0_hs0_vs0_2007-05-02_12-55-41';
                                      'C1G130_he0_ve0_hs0_vs0_2007-05-02_12-55-41';
                                      'C1G130_he0_ve0_hs0_vs0_2007-05-02_12-55-41']);
            end
        elseif (gap < 0.5*(150 + 170))
            if strcmp(corName, 'CHE')
                fnMeasMain = cellstr(['C1G150_he-10_ve0_hs0_vs0_2007-05-02_12-58-20';
                                      'C1G150_he-5_ve0_hs0_vs0_2007-05-02_12-58-39 ';
                                      'C1G150_he0_ve0_hs0_vs0_2007-05-02_12-58-57  ';
                                      'C1G150_he5_ve0_hs0_vs0_2007-05-02_12-59-16  ';
                                      'C1G150_he10_ve0_hs0_vs0_2007-05-02_12-59-35 ']);
                fnMeasBkgr = cellstr(['C1G150_he0_ve0_hs0_vs0_2007-05-02_12-57-59';
                                      'C1G150_he0_ve0_hs0_vs0_2007-05-02_12-57-59';
                                      'C1G150_he0_ve0_hs0_vs0_2007-05-02_12-58-57';
                                      'C1G150_he0_ve0_hs0_vs0_2007-05-02_12-58-57';
                                      'C1G150_he0_ve0_hs0_vs0_2007-05-02_12-58-57']);
            elseif strcmp(corName, 'CVE')
                fnMeasMain = cellstr(['C1G150_he0_ve-10_hs0_vs0_2007-05-02_13-00-14';
                                      'C1G150_he0_ve-5_hs0_vs0_2007-05-02_13-00-33 ';
                                      'C1G150_he0_ve0_hs0_vs0_2007-05-02_13-00-51  ';
                                      'C1G150_he0_ve5_hs0_vs0_2007-05-02_13-01-10  ';
                                      'C1G150_he0_ve10_hs0_vs0_2007-05-02_13-01-28 ']);
                fnMeasBkgr = cellstr(['C1G150_he0_ve0_hs0_vs0_2007-05-02_12-59-53';
                                      'C1G150_he0_ve0_hs0_vs0_2007-05-02_12-59-53';
                                      'C1G150_he0_ve0_hs0_vs0_2007-05-02_13-00-51';
                                      'C1G150_he0_ve0_hs0_vs0_2007-05-02_13-00-51';
                                      'C1G150_he0_ve0_hs0_vs0_2007-05-02_13-00-51']);
            elseif strcmp(corName, 'CHS')
                fnMeasMain = cellstr(['C1G150_he0_ve0_hs-10_vs0_2007-05-02_13-02-07';
                                      'C1G150_he0_ve0_hs-5_vs0_2007-05-02_13-02-26 ';
                                      'C1G150_he0_ve0_hs0_vs0_2007-05-02_13-02-45  ';
                                      'C1G150_he0_ve0_hs5_vs0_2007-05-02_13-03-03  ';
                                      'C1G150_he0_ve0_hs10_vs0_2007-05-02_13-03-22 ']);
                fnMeasBkgr = cellstr(['C1G150_he0_ve0_hs0_vs0_2007-05-02_13-01-47';
                                      'C1G150_he0_ve0_hs0_vs0_2007-05-02_13-01-47';
                                      'C1G150_he0_ve0_hs0_vs0_2007-05-02_13-02-45';
                                      'C1G150_he0_ve0_hs0_vs0_2007-05-02_13-02-45';
                                      'C1G150_he0_ve0_hs0_vs0_2007-05-02_13-02-45']);
            elseif strcmp(corName, 'CVS')
                fnMeasMain = cellstr(['C1G150_he0_ve0_hs0_vs-10_2007-05-02_13-04-02';
                                      'C1G150_he0_ve0_hs0_vs-5_2007-05-02_13-04-21 ';
                                      'C1G150_he0_ve0_hs0_vs0_2007-05-02_13-04-40  ';
                                      'C1G150_he0_ve0_hs0_vs5_2007-05-02_13-04-58  ';
                                      'C1G150_he0_ve0_hs0_vs10_2007-05-02_13-05-17 ']);
                fnMeasBkgr = cellstr(['C1G150_he0_ve0_hs0_vs0_2007-05-02_13-03-42';
                                      'C1G150_he0_ve0_hs0_vs0_2007-05-02_13-03-42';
                                      'C1G150_he0_ve0_hs0_vs0_2007-05-02_13-04-40';
                                      'C1G150_he0_ve0_hs0_vs0_2007-05-02_13-04-40';
                                      'C1G150_he0_ve0_hs0_vs0_2007-05-02_13-04-40']);
            end
        elseif (gap < 0.5*(170 + 200))
            if strcmp(corName, 'CHE')
                fnMeasMain = cellstr(['C1G170_he-10_ve0_hs0_vs0_2007-05-02_13-08-41';
                                      'C1G170_he-5_ve0_hs0_vs0_2007-05-02_13-09-00 ';
                                      'C1G170_he0_ve0_hs0_vs0_2007-05-02_13-09-18  ';
                                      'C1G170_he5_ve0_hs0_vs0_2007-05-02_13-09-37  ';
                                      'C1G170_he10_ve0_hs0_vs0_2007-05-02_13-09-55 ']);
                fnMeasBkgr = cellstr(['C1G170_he0_ve0_hs0_vs0_2007-05-02_13-08-20';
                                      'C1G170_he0_ve0_hs0_vs0_2007-05-02_13-08-20';
                                      'C1G170_he0_ve0_hs0_vs0_2007-05-02_13-09-18';
                                      'C1G170_he0_ve0_hs0_vs0_2007-05-02_13-09-18';
                                      'C1G170_he0_ve0_hs0_vs0_2007-05-02_13-09-18']);
            elseif strcmp(corName, 'CVE')
                fnMeasMain = cellstr(['C1G170_he0_ve-10_hs0_vs0_2007-05-02_13-10-34';
                                      'C1G170_he0_ve-5_hs0_vs0_2007-05-02_13-10-53 ';
                                      'C1G170_he0_ve0_hs0_vs0_2007-05-02_13-11-11  ';
                                      'C1G170_he0_ve5_hs0_vs0_2007-05-02_13-11-30  ';
                                      'C1G170_he0_ve10_hs0_vs0_2007-05-02_13-11-49 ']);
                fnMeasBkgr = cellstr(['C1G170_he0_ve0_hs0_vs0_2007-05-02_13-10-15';
                                      'C1G170_he0_ve0_hs0_vs0_2007-05-02_13-10-15';
                                      'C1G170_he0_ve0_hs0_vs0_2007-05-02_13-11-11';
                                      'C1G170_he0_ve0_hs0_vs0_2007-05-02_13-11-11';
                                      'C1G170_he0_ve0_hs0_vs0_2007-05-02_13-11-11']);
            elseif strcmp(corName, 'CHS')
                fnMeasMain = cellstr(['C1G170_he0_ve0_hs-10_vs0_2007-05-02_13-12-29';
                                      'C1G170_he0_ve0_hs-5_vs0_2007-05-02_13-12-47 ';
                                      'C1G170_he0_ve0_hs0_vs0_2007-05-02_13-13-06  ';
                                      'C1G170_he0_ve0_hs5_vs0_2007-05-02_13-13-24  ';
                                      'C1G170_he0_ve0_hs10_vs0_2007-05-02_13-13-43 ']);
                fnMeasBkgr = cellstr(['C1G170_he0_ve0_hs0_vs0_2007-05-02_13-12-09';
                                      'C1G170_he0_ve0_hs0_vs0_2007-05-02_13-12-09';
                                      'C1G170_he0_ve0_hs0_vs0_2007-05-02_13-13-06';
                                      'C1G170_he0_ve0_hs0_vs0_2007-05-02_13-13-06';
                                      'C1G170_he0_ve0_hs0_vs0_2007-05-02_13-13-06']);
            elseif strcmp(corName, 'CVS')
                fnMeasMain = cellstr(['C1G170_he0_ve0_hs0_vs-10_2007-05-02_13-14-24';
                                      'C1G170_he0_ve0_hs0_vs-5_2007-05-02_13-14-42 ';
                                      'C1G170_he0_ve0_hs0_vs0_2007-05-02_13-15-00  ';
                                      'C1G170_he0_ve0_hs0_vs5_2007-05-02_13-15-19  ';
                                      'C1G170_he0_ve0_hs0_vs10_2007-05-02_13-15-38 ']);
                fnMeasBkgr = cellstr(['C1G170_he0_ve0_hs0_vs0_2007-05-02_13-14-04';
                                      'C1G170_he0_ve0_hs0_vs0_2007-05-02_13-14-04';
                                      'C1G170_he0_ve0_hs0_vs0_2007-05-02_13-15-00';
                                      'C1G170_he0_ve0_hs0_vs0_2007-05-02_13-15-00';
                                      'C1G170_he0_ve0_hs0_vs0_2007-05-02_13-15-00']);
            end
        elseif (gap < 0.5*(200 + 250))
            if strcmp(corName, 'CHE')
                fnMeasMain = cellstr(['C1G200_he-10_ve0_hs0_vs0_2007-05-02_13-17-19';
                                      'C1G200_he-5_ve0_hs0_vs0_2007-05-02_13-17-38 ';
                                      'C1G200_he0_ve0_hs0_vs0_2007-05-02_13-17-56  ';
                                      'C1G200_he5_ve0_hs0_vs0_2007-05-02_13-18-15  ';
                                      'C1G200_he10_ve0_hs0_vs0_2007-05-02_13-18-33 ']);
                fnMeasBkgr = cellstr(['C1G200_he0_ve0_hs0_vs0_2007-05-02_13-16-59';
                                      'C1G200_he0_ve0_hs0_vs0_2007-05-02_13-16-59';
                                      'C1G200_he0_ve0_hs0_vs0_2007-05-02_13-17-56';
                                      'C1G200_he0_ve0_hs0_vs0_2007-05-02_13-17-56';
                                      'C1G200_he0_ve0_hs0_vs0_2007-05-02_13-17-56']);
            elseif strcmp(corName, 'CVE')
                fnMeasMain = cellstr(['C1G200_he0_ve-10_hs0_vs0_2007-05-02_13-19-15';
                                      'C1G200_he0_ve-5_hs0_vs0_2007-05-02_13-19-34 ';
                                      'C1G200_he0_ve0_hs0_vs0_2007-05-02_13-19-52  ';
                                      'C1G200_he0_ve5_hs0_vs0_2007-05-02_13-20-11  ';
                                      'C1G200_he0_ve10_hs0_vs0_2007-05-02_13-20-28 ']);
                fnMeasBkgr = cellstr(['C1G200_he0_ve0_hs0_vs0_2007-05-02_13-18-54';
                                      'C1G200_he0_ve0_hs0_vs0_2007-05-02_13-18-54';
                                      'C1G200_he0_ve0_hs0_vs0_2007-05-02_13-19-52';
                                      'C1G200_he0_ve0_hs0_vs0_2007-05-02_13-19-52';
                                      'C1G200_he0_ve0_hs0_vs0_2007-05-02_13-19-52']);
            elseif strcmp(corName, 'CHS')
                fnMeasMain = cellstr(['C1G200_he0_ve0_hs-10_vs0_2007-05-02_13-21-07';
                                      'C1G200_he0_ve0_hs-5_vs0_2007-05-02_13-21-25 ';
                                      'C1G200_he0_ve0_hs0_vs0_2007-05-02_13-21-44  ';
                                      'C1G200_he0_ve0_hs5_vs0_2007-05-02_13-22-02  ';
                                      'C1G200_he0_ve0_hs10_vs0_2007-05-02_13-22-21 ']);
                fnMeasBkgr = cellstr(['C1G200_he0_ve0_hs0_vs0_2007-05-02_13-20-47';
                                      'C1G200_he0_ve0_hs0_vs0_2007-05-02_13-20-47';
                                      'C1G200_he0_ve0_hs0_vs0_2007-05-02_13-21-44';
                                      'C1G200_he0_ve0_hs0_vs0_2007-05-02_13-21-44';
                                      'C1G200_he0_ve0_hs0_vs0_2007-05-02_13-21-44']);
            elseif strcmp(corName, 'CVS')
                fnMeasMain = cellstr(['C1G200_he0_ve0_hs0_vs-10_2007-05-02_13-23-01';
                                      'C1G200_he0_ve0_hs0_vs-5_2007-05-02_13-23-19 ';
                                      'C1G200_he0_ve0_hs0_vs0_2007-05-02_13-23-38  ';
                                      'C1G200_he0_ve0_hs0_vs5_2007-05-02_13-23-56  ';
                                      'C1G200_he0_ve0_hs0_vs10_2007-05-02_13-24-15 ']);
                fnMeasBkgr = cellstr(['C1G200_he0_ve0_hs0_vs0_2007-05-02_13-22-41';
                                      'C1G200_he0_ve0_hs0_vs0_2007-05-02_13-22-41';
                                      'C1G200_he0_ve0_hs0_vs0_2007-05-02_13-23-38';
                                      'C1G200_he0_ve0_hs0_vs0_2007-05-02_13-23-38';
                                      'C1G200_he0_ve0_hs0_vs0_2007-05-02_13-23-38']);
            end
        elseif (gap >= 0.5*(200 + 250))
            if strcmp(corName, 'CHE')
                fnMeasMain = cellstr(['C1G250_he-10_ve0_hs0_vs0_2007-05-02_13-26-01';
                                      'C1G250_he-5_ve0_hs0_vs0_2007-05-02_13-26-20 ';
                                      'C1G250_he0_ve0_hs0_vs0_2007-05-02_13-26-39  ';
                                      'C1G250_he5_ve0_hs0_vs0_2007-05-02_13-26-56  ';
                                      'C1G250_he10_ve0_hs0_vs0_2007-05-02_13-27-15 ']);
                fnMeasBkgr = cellstr(['C1G250_he0_ve0_hs0_vs0_2007-05-02_13-25-42';
                                      'C1G250_he0_ve0_hs0_vs0_2007-05-02_13-25-42';
                                      'C1G250_he0_ve0_hs0_vs0_2007-05-02_13-26-39';
                                      'C1G250_he0_ve0_hs0_vs0_2007-05-02_13-26-39';
                                      'C1G250_he0_ve0_hs0_vs0_2007-05-02_13-26-39']);
            elseif strcmp(corName, 'CVE')
                fnMeasMain = cellstr(['C1G250_he0_ve-10_hs0_vs0_2007-05-02_13-27-55';
                                      'C1G250_he0_ve-5_hs0_vs0_2007-05-02_13-28-13 ';
                                      'C1G250_he0_ve0_hs0_vs0_2007-05-02_13-28-32  ';
                                      'C1G250_he0_ve5_hs0_vs0_2007-05-02_13-28-51  ';
                                      'C1G250_he0_ve10_hs0_vs0_2007-05-02_13-29-09 ']);
                fnMeasBkgr = cellstr(['C1G250_he0_ve0_hs0_vs0_2007-05-02_13-27-35';
                                      'C1G250_he0_ve0_hs0_vs0_2007-05-02_13-27-35';
                                      'C1G250_he0_ve0_hs0_vs0_2007-05-02_13-28-32';
                                      'C1G250_he0_ve0_hs0_vs0_2007-05-02_13-28-32';
                                      'C1G250_he0_ve0_hs0_vs0_2007-05-02_13-28-32']);
            elseif strcmp(corName, 'CHS')
                fnMeasMain = cellstr(['C1G250_he0_ve0_hs-10_vs0_2007-05-02_13-29-47';
                                      'C1G250_he0_ve0_hs-5_vs0_2007-05-02_13-30-06 ';
                                      'C1G250_he0_ve0_hs0_vs0_2007-05-02_13-30-24  ';
                                      'C1G250_he0_ve0_hs5_vs0_2007-05-02_13-30-43  ';
                                      'C1G250_he0_ve0_hs10_vs0_2007-05-02_13-31-01 ']);
                fnMeasBkgr = cellstr(['C1G250_he0_ve0_hs0_vs0_2007-05-02_13-29-28';
                                      'C1G250_he0_ve0_hs0_vs0_2007-05-02_13-29-28';
                                      'C1G250_he0_ve0_hs0_vs0_2007-05-02_13-30-24';
                                      'C1G250_he0_ve0_hs0_vs0_2007-05-02_13-30-24';
                                      'C1G250_he0_ve0_hs0_vs0_2007-05-02_13-30-24']);
            elseif strcmp(corName, 'CVS')
                fnMeasMain = cellstr(['C1G250_he0_ve0_hs0_vs-10_2007-05-02_13-31-40';
                                      'C1G250_he0_ve0_hs0_vs-5_2007-05-02_13-32-00 ';
                                      'C1G250_he0_ve0_hs0_vs0_2007-05-02_13-32-19  ';
                                      'C1G250_he0_ve0_hs0_vs5_2007-05-02_13-32-37  ';
                                      'C1G250_he0_ve0_hs0_vs10_2007-05-02_13-32-55 ']);
                fnMeasBkgr = cellstr(['C1G250_he0_ve0_hs0_vs0_2007-05-02_13-31-21';
                                      'C1G250_he0_ve0_hs0_vs0_2007-05-02_13-31-21';
                                      'C1G250_he0_ve0_hs0_vs0_2007-05-02_13-32-19';
                                      'C1G250_he0_ve0_hs0_vs0_2007-05-02_13-32-19';
                                      'C1G250_he0_ve0_hs0_vs0_2007-05-02_13-32-19']);
            end
        end
    end %if strcmp(corName, 'HU80_CASSIOPEE')
    
elseif strncmp(idName, 'HU256', 5)
    if strcmp(idName, 'HU256_CASSIOPEE')
        %vCurVals = [-10, -5, 0, 5, 10];
        
        if strcmp(corName, 'CHE')
            vCurVals = [-2 -1, 0, 1, 2];

            fnMeasMain = cellstr(['HU256_CASSIOPEE_Bzc1_m2A_2006-10-13_14-33-23            '; 
                                  'HU256_CASSIOPEE_Bzc1_m1A_2006-10-13_14-32-47            '; 
                                  'HU256_CASSIOPEE_Reference_correctors_2006-10-13_14-31-06'; 
                                  'HU256_CASSIOPEE_Bzc1_1A_2006-10-13_14-32-06             '; 
                                  'HU256_CASSIOPEE_Bzc1_2A_2006-10-13_14-31-44             ']);                                  
            fnMeasBkgr = cellstr(['HU256_CASSIOPEE_Reference_correctors_2006-10-13_14-31-06'; 
                                  'HU256_CASSIOPEE_Reference_correctors_2006-10-13_14-31-06'; 
                                  'HU256_CASSIOPEE_Reference_correctors_2006-10-13_14-31-06'; 
                                  'HU256_CASSIOPEE_Reference_correctors_2006-10-13_14-31-06'; 
                                  'HU256_CASSIOPEE_Reference_correctors_2006-10-13_14-31-06']);
        elseif strcmp(corName, 'CVE')
            vCurVals = [-6, -3, 0, 3, 6];

            fnMeasMain = cellstr(['HU256_CASSIOPEE_Bxc1_m6A_2006-10-13_14-38-58            '; 
                                  'HU256_CASSIOPEE_Bxc1_m3A_2006-10-13_14-38-37            '; 
                                  'HU256_CASSIOPEE_Reference_correctors_2006-10-13_14-31-06'; 
                                  'HU256_CASSIOPEE_Bxc1_3A_2006-10-13_14-37-06             '; 
                                  'HU256_CASSIOPEE_Bxc1_6A_2006-10-13_14-37-49             ']);
            fnMeasBkgr = cellstr(['HU256_CASSIOPEE_Reference_correctors_2006-10-13_14-31-06'; 
                                  'HU256_CASSIOPEE_Reference_correctors_2006-10-13_14-31-06'; 
                                  'HU256_CASSIOPEE_Reference_correctors_2006-10-13_14-31-06'; 
                                  'HU256_CASSIOPEE_Reference_correctors_2006-10-13_14-31-06'; 
                                  'HU256_CASSIOPEE_Reference_correctors_2006-10-13_14-31-06']);
        elseif strcmp(corName, 'CHS')
            vCurVals = [-2, -1, 0, 1, 2];

            fnMeasMain = cellstr(['HU256_CASSIOPEE_Bzc27_m2A_2006-10-13_14-36-00           '; 
                                  'HU256_CASSIOPEE_Bzc27_m1A_2006-10-13_14-35-00           '; 
                                  'HU256_CASSIOPEE_Reference_correctors_2006-10-13_14-31-06'; 
                                  'HU256_CASSIOPEE_Bzc27_1A_2006-10-13_14-34-11            '; 
                                  'HU256_CASSIOPEE_Bzc27_2A_2006-10-13_14-34-33            ']);
            fnMeasBkgr = cellstr(['HU256_CASSIOPEE_Reference_correctors_2006-10-13_14-31-06'; 
                                  'HU256_CASSIOPEE_Reference_correctors_2006-10-13_14-31-06'; 
                                  'HU256_CASSIOPEE_Reference_correctors_2006-10-13_14-31-06'; 
                                  'HU256_CASSIOPEE_Reference_correctors_2006-10-13_14-31-06'; 
                                  'HU256_CASSIOPEE_Reference_correctors_2006-10-13_14-31-06']);
        elseif strcmp(corName, 'CVS')
            vCurVals = [-6, -3, 0, 3, 6];

            fnMeasMain = cellstr(['HU256_CASSIOPEE_Bxc28_m6A_2006-10-13_14-40-51           '; 
                                  'HU256_CASSIOPEE_Bxc28_m3A_2006-10-13_14-40-30           '; 
                                  'HU256_CASSIOPEE_Reference_correctors_2006-10-13_14-31-06'; 
                                  'HU256_CASSIOPEE_Bxc28_3A_2006-10-13_14-39-46            '; 
                                  'HU256_CASSIOPEE_Bxc28_6A_2006-10-13_14-40-07            ']);
            fnMeasBkgr = cellstr(['HU256_CASSIOPEE_Reference_correctors_2006-10-13_14-31-06'; 
                                  'HU256_CASSIOPEE_Reference_correctors_2006-10-13_14-31-06'; 
                                  'HU256_CASSIOPEE_Reference_correctors_2006-10-13_14-31-06'; 
                                  'HU256_CASSIOPEE_Reference_correctors_2006-10-13_14-31-06'; 
                                  'HU256_CASSIOPEE_Reference_correctors_2006-10-13_14-31-06']);
        end
    elseif (strcmp(idName, 'HU256_PLEIADES'))

        if strcmp(corName, 'CHE')
			vCurVals = [-2, -1, 0, 1, 2];
			fnMeasMain = cellstr([	'HU256_PLEIADES_CHE_m2_2007-04-27_11-35-38   ';
									'HU256_PLEIADES_CHE_m1_2007-04-27_11-35-54   ';
									'HU256_PLEIADES_Reference_2007-04-27_11-35-23';
									'HU256_PLEIADES_CHE_1_2007-04-27_11-36-10    ';
									'HU256_PLEIADES_CHE_2_2007-04-27_11-36-26    ']);
			fnMeasBkgr = cellstr([	'HU256_PLEIADES_Reference_2007-04-27_11-35-23';
									'HU256_PLEIADES_Reference_2007-04-27_11-35-23';
									'HU256_PLEIADES_Reference_2007-04-27_11-35-23';
									'HU256_PLEIADES_Reference_2007-04-27_11-35-23';
									'HU256_PLEIADES_Reference_2007-04-27_11-35-23']);
		elseif strcmp(corName, 'CHS')
			vCurVals = [-2, -1, 0, 1, 2];
			fnMeasMain = cellstr([	'HU256_PLEIADES_CHS_m2_2007-04-27_11-36-58   ';
									'HU256_PLEIADES_CHS_m1_2007-04-27_11-37-14   ';
									'HU256_PLEIADES_Reference_2007-04-27_11-36-42';
									'HU256_PLEIADES_CHS_1_2007-04-27_11-37-30    ';
									'HU256_PLEIADES_CHS_2_2007-04-27_11-37-46    ']);
			fnMeasBkgr = cellstr([	'HU256_PLEIADES_Reference_2007-04-27_11-36-42';
									'HU256_PLEIADES_Reference_2007-04-27_11-36-42';
									'HU256_PLEIADES_Reference_2007-04-27_11-36-42';
									'HU256_PLEIADES_Reference_2007-04-27_11-36-42';
									'HU256_PLEIADES_Reference_2007-04-27_11-36-42']);
		elseif strcmp(corName, 'CVE')
			vCurVals = [-6, -3, 0, 3, 6];
			fnMeasMain = cellstr([	'HU256_PLEIADES_CVE_m6_2007-04-27_11-38-18   ';
									'HU256_PLEIADES_CVE_m3_2007-04-27_11-38-34   ';
									'HU256_PLEIADES_Reference_2007-04-27_11-38-02';
									'HU256_PLEIADES_CVE_3_2007-04-27_11-38-50    ';
									'HU256_PLEIADES_CVE_6_2007-04-27_11-39-06    ']);
			fnMeasBkgr = cellstr([	'HU256_PLEIADES_Reference_2007-04-27_11-38-02';
									'HU256_PLEIADES_Reference_2007-04-27_11-38-02';
									'HU256_PLEIADES_Reference_2007-04-27_11-38-02';
									'HU256_PLEIADES_Reference_2007-04-27_11-38-02';
									'HU256_PLEIADES_Reference_2007-04-27_11-38-02']);
		elseif strcmp(corName, 'CVS')
			vCurVals = [-6, -3, 0, 3, 6];
			fnMeasMain = cellstr([	'HU256_PLEIADES_CVS_m6_2007-04-27_11-39-37   ';
									'HU256_PLEIADES_CVS_m3_2007-04-27_11-39-53   ';
									'HU256_PLEIADES_Reference_2007-04-27_11-39-21';
									'HU256_PLEIADES_CVS_3_2007-04-27_11-40-08    ';
									'HU256_PLEIADES_CVS_6_2007-04-27_11-40-24    ']);
			fnMeasBkgr = cellstr([	'HU256_PLEIADES_Reference_2007-04-27_11-39-21';
									'HU256_PLEIADES_Reference_2007-04-27_11-39-21';
									'HU256_PLEIADES_Reference_2007-04-27_11-39-21';
									'HU256_PLEIADES_Reference_2007-04-27_11-39-21';
									'HU256_PLEIADES_Reference_2007-04-27_11-39-21']);
        end     % end of HU256_PLEIADES
    elseif strcmp(idName, 'HU256_ANTARES')

		if strcmp(corName, 'CHE')
			vCurVals = [-2, -1, 0, 1, 2];
			fnMeasMain = cellstr([	'HU256_ANTARES_CHE_m2_2007-06-07_12-38-13   ';
									'HU256_ANTARES_CHE_m1_2007-06-07_12-38-28   ';
									'HU256_ANTARES_Reference_2007-06-07_12-37-57';
									'HU256_ANTARES_CHE_1_2007-06-07_12-38-43    ';
									'HU256_ANTARES_CHE_2_2007-06-07_12-38-58    ']);
			fnMeasBkgr = cellstr([	'HU256_ANTARES_Reference_2007-06-07_12-37-57';
									'HU256_ANTARES_Reference_2007-06-07_12-37-57';
									'HU256_ANTARES_Reference_2007-06-07_12-37-57';
									'HU256_ANTARES_Reference_2007-06-07_12-37-57';
									'HU256_ANTARES_Reference_2007-06-07_12-37-57']);
		elseif strcmp(corName, 'CHS')
			vCurVals = [-2, -1, 0, 1, 2];
			fnMeasMain = cellstr([	'HU256_ANTARES_CHS_m2_2007-06-07_12-39-29   ';
									'HU256_ANTARES_CHS_m1_2007-06-07_12-39-44   ';
									'HU256_ANTARES_Reference_2007-06-07_12-39-14';
									'HU256_ANTARES_CHS_1_2007-06-07_12-39-59    ';
									'HU256_ANTARES_CHS_2_2007-06-07_12-40-15    ']);
			fnMeasBkgr = cellstr([	'HU256_ANTARES_Reference_2007-06-07_12-39-14';
									'HU256_ANTARES_Reference_2007-06-07_12-39-14';
									'HU256_ANTARES_Reference_2007-06-07_12-39-14';
									'HU256_ANTARES_Reference_2007-06-07_12-39-14';
									'HU256_ANTARES_Reference_2007-06-07_12-39-14']);
		elseif strcmp(corName, 'CVE')
			vCurVals = [-6, -3, 0, 3, 6];
			fnMeasMain = cellstr([	'HU256_ANTARES_CVE_m6_2007-06-07_12-40-45   ';
									'HU256_ANTARES_CVE_m3_2007-06-07_12-41-00   ';
									'HU256_ANTARES_Reference_2007-06-07_12-40-30';
									'HU256_ANTARES_CVE_3_2007-06-07_12-41-16    ';
									'HU256_ANTARES_CVE_6_2007-06-07_12-41-31    ']);
			fnMeasBkgr = cellstr([	'HU256_ANTARES_Reference_2007-06-07_12-40-30';
									'HU256_ANTARES_Reference_2007-06-07_12-40-30';
									'HU256_ANTARES_Reference_2007-06-07_12-40-30';
									'HU256_ANTARES_Reference_2007-06-07_12-40-30';
									'HU256_ANTARES_Reference_2007-06-07_12-40-30']);
		elseif strcmp(corName, 'CVS')
			vCurVals = [-6, -3, 0, 3, 6];
			fnMeasMain = cellstr([	'HU256_ANTARES_CVS_m6_2007-06-07_12-42-01   ';
									'HU256_ANTARES_CVS_m3_2007-06-07_12-42-17   ';
									'HU256_ANTARES_Reference_2007-06-07_12-41-46';
									'HU256_ANTARES_CVS_3_2007-06-07_12-42-32    ';
									'HU256_ANTARES_CVS_6_2007-06-07_12-42-47    ']);
			fnMeasBkgr = cellstr([	'HU256_ANTARES_Reference_2007-06-07_12-41-46';
									'HU256_ANTARES_Reference_2007-06-07_12-41-46';
									'HU256_ANTARES_Reference_2007-06-07_12-41-46';
									'HU256_ANTARES_Reference_2007-06-07_12-41-46';
									'HU256_ANTARES_Reference_2007-06-07_12-41-46']);
		end
	end	% end of HU256_ANTARES
    %end % end HU256

elseif strncmp(idName, 'HU640', 5)
    if strcmp(idName, 'HU640_DESIRS')
        vCurVals = [-4,-2, 0, 2, 4];
        if strcmp(corName, 'CVE')

            fnMeasMain = cellstr(['HU640_Corr4_m4A';
                                  'HU640_Corr4_m2A'; 
                                  'HU640_Corr4_00A';
                                  'HU640_Corr4_p2A'
                                  'HU640_Corr4_p4A']);                                  
            fnMeasBkgr = cellstr(['HU640_Corr4_00A';
                                  'HU640_Corr4_00A';
                                  'HU640_Corr4_00A';
                                  'HU640_Corr4_00A';
                                  'HU640_Corr4_00A']);
        elseif strcmp(corName, 'CHE')

            fnMeasMain = cellstr(['HU640_Corr2_m4A';
                                  'HU640_Corr2_m2A'; 
                                  'HU640_Corr2_00A';
                                  'HU640_Corr2_p2A'
                                  'HU640_Corr2_p4A']);                                  
            fnMeasBkgr = cellstr(['HU640_Corr2_00A';
                                  'HU640_Corr2_00A';
                                  'HU640_Corr2_00A';
                                  'HU640_Corr2_00A';
                                  'HU640_Corr2_00A']);
        elseif strcmp(corName, 'CVS')

            fnMeasMain = cellstr(['HU640_Corr3_m4A';
                                  'HU640_Corr3_m2A'; 
                                  'HU640_Corr3_00A';
                                  'HU640_Corr3_p2A'
                                  'HU640_Corr3_p4A']);                                  
            fnMeasBkgr = cellstr(['HU640_Corr3_00A';
                                  'HU640_Corr3_00A';
                                  'HU640_Corr3_00A';
                                  'HU640_Corr3_00A';
                                  'HU640_Corr3_00A']);
        elseif strcmp(corName, 'CHS')

            fnMeasMain = cellstr(['HU640_Corr1_m4A';
                                  'HU640_Corr1_m2A'; 
                                  'HU640_Corr1_00A';
                                  'HU640_Corr1_p2A'
                                  'HU640_Corr1_p4A']);                                  
            fnMeasBkgr = cellstr(['HU640_Corr1_00A';
                                  'HU640_Corr1_00A';
                                  'HU640_Corr1_00A';
                                  'HU640_Corr1_00A';
                                  'HU640_Corr1_00A']);
        end
    end % HU640_DESIRS

end 
