Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...



w/o loops over panelswith loops over panels
dtmeaningarrays shape array size in  (512,1024)msecarray shapesize in  (512,1024)mseccomment
01get det.raw(evt)(8, 512, 1024)0.664(8, 512, 1024)0.638
02get detector name from source
0.015
0.016
03access cache object for detname
0.003
0.003
04get peds, gfac, mask, out, cmps(3, 8, 512, 1024)3x80.002(3, 8, 512, 1024)3x80.002
05

single panel begin processing

begin processing entire array0.001begin processing last panel567meaningless
06make gain range indices, gr0, 1, 2(8, 512, 1024)1.408(1, 512, 1024)0.195
07np.select for gain factor(8, 512, 1024)5.34(1, 512, 1024)0.627
08np.select for gain peds+offset(8, 512, 1024)5.00(1, 512, 1024)0.629
09apply mask for data bits, arr & MSK(8, 512, 1024)1.73(1, 512, 1024)0.117
10subtract pedestals(8, 512, 1024)1.19(1, 512, 1024)0.083
11check massaging common mode parameters
0.272
0.127
12apply pixel mask for gr0(8, 512, 1024)0.674(1, 512, 1024)0.057
13begin loop over panels for CMCtime to work with last panel549time to work with current panel0.001meaningless
14CMC in banks: (512/2,1024/16) = (256,64)(1, 512, 1024)11.2(1, 512, 1024)11.1CMC always loop over panels
15CMC in rows per bank: 1024/16 = 64 pixels(1, 512, 1024)31.3(1, 512, 1024)31.4
16CMC in cols per bank: 512/2 = 256 pixels(1, 512, 1024)35.9(1, 512, 1024)36.0
17Apply gain correction and mask(8, 512, 1024)2.87(1, 512, 1024)0.40

Total time per event(8, 512, 1024)576(8, 512, 1024)582
  • where CMC stands for common mode correction

...