Ignore:
Timestamp:
04/24/12 14:41:37 (13 years ago)
Author:
kraehenb
Message:
Changed CalFitsTest.py to work with the current version of caltest.h.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • fact/tools/pyscripts/sandbox/kraehenb/CalFitsPerformance.py

    r13430 r13435  
    6161#    print [(x,y) for x,y in zip(npthr.nonzero()[0],npthr.nonzero()[1])] #print the coordinates, range 0-1399,0-284
    6262   
    63     #Various versions to get the integral, all with approximately the same miserable speed (3 Hz), except for the last one with ~4.3 Hz
     63    #Various versions to get the integral, all with approximately the same miserable speed (3 Hz), except for the last one (vectorized function) with ~4.3 Hz
    6464    #Missing: add deadtime after an integration, remove start & end of the array
    6565#    integrals = [np.sum(npcalevent[x,y+5:y+15]) for x,y in np.transpose(npthr.nonzero())]
Note: See TracChangeset for help on using the changeset viewer.