(file) Return to jtsslice.c CVS log (file) (dir) Up to [Development] / JSOC / proj / globalhs / apps

Diff for /JSOC/proj/globalhs/apps/jtsslice.c between version 1.10 and 1.11

version 1.10, 2012/09/20 17:33:45 version 1.11, 2012/09/24 20:06:23
Line 507  int DoIt(void)
Line 507  int DoIt(void)
       if (verbflag>1)       if (verbflag>1)
       {       {
         printf("  starting tstart = %s, ",tstartstr);         printf("  starting tstart = %s, ",tstartstr);
           if (irec == 0)
           {
         int ig, gtotal=0;         int ig, gtotal=0;
         for (ig=0;ig<n_sampled_out;ig++)         for (ig=0;ig<n_sampled_out;ig++)
           gtotal+=gaps[gapoffset+ig];           gtotal+=gaps[gapoffset+ig];
         float dutycycle = (float)gtotal/n_sampled_out;         float dutycycle = (float)gtotal/n_sampled_out;
         printf("dutycycle = %f\n", dutycycle);         printf("dutycycle = %f\n", dutycycle);
       }       }
         }
  
 // set ifirst to gapoffset for reading slice // set ifirst to gapoffset for reading slice
       ifirst=gapoffset;       ifirst=gapoffset;


Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

Karen Tian
Powered by
ViewCVS 0.9.4