Changeset 224 in ETALON for SPESO


Ignore:
Timestamp:
Apr 15, 2015, 2:42:37 AM (9 years ago)
Author:
delerue
Message:

Analysis updated - 4 channels at a time

File:
1 edited

Legend:

Unmodified
Added
Removed
  • SPESO/ana2015/read_date_fun.m

    r222 r224  
    3232%   figure(110)
    3333
     34plots_dir=[ plots_basedir dateStr '/'  ];
     35
    3436dayEvents=[];
    3537
     
    5052    hourStrArray = [hourStrArray str2num(hourStr)];
    5153    [ hourEvents meanDataOverHour meanPeakOverHour ] = read_date_hour_fun(dateStr, hourStr);
    52     meanDataOverDay(:,iloop)=meanDataOverHour;
    53     meanPeakOverDay(:,iloop)=meanPeakOverHour;
     54    meanDataOverDay(:,iloop+1)=meanDataOverHour;
     55    meanPeakOverDay(:,iloop+1)=meanPeakOverHour;
    5456   
    5557    size(dayEvents)
     
    6062   
    6163   
    62     for iEvt=1:length(hourEvent)
    63         thisEvt=hourEvent(iEvt).event;
     64    for iEvt=1:length(hourEvents)
     65        thisEvt=hourEvents(iEvt).event;
    6466        allDataOverDay(1,iAllData)=thisEvt.ch1.sv;
    6567        allDataOverDay(2,iAllData)=thisEvt.ch2.sv;
     
    99101        figure(ich*10);
    100102        clf
    101         plot(meanDataOverDay(ich,0:iloop))
     103        plot(meanDataOverDay(ich,1:iloop+1))
    102104        title([ dateStr ' mean signal over hours']);
    103105        xlabel('time [hh]');
     
    107109        figure(ich*10+1);
    108110        clf
    109         plot(meanPeakOverDay(ich,0:iloop))
     111        plot(meanPeakOverDay(ich,1:iloop+1))
    110112        title([ dateStr ' mean peak over hours']);
    111113        xlabel('time [hh]');
Note: See TracChangeset for help on using the changeset viewer.