def summarizeEyeDetectionTests(tests):
    print 'Creating summaries...'
    summary25 = pv.Table()
    summary25.setColumnFormat('Face_Rate','%0.4f')
    summary25.setColumnFormat('Rate_25','%0.4f')
    summary25.setColumnFormat('Lower95_25','%0.4f')
    summary25.setColumnFormat('Upper95_25','%0.4f')
    summary25.setColumnFormat('Time','%0.2f')
    for test in tests:
        print test.name
        summary25.setElement(test.name,'Face_Rate',test.face_rate)
        summary25.setElement(test.name,'Rate_25',test.both25_rate)
        summary25.setElement(test.name,'Lower95_25',test.both25_ci[0])
        summary25.setElement(test.name,'Upper95_25',test.both25_ci[1])
        summary25.setElement(test.name,'Time',test.elapse_time)
        
        
    summary10 = pv.Table()
    summary10.setColumnFormat('Face_Rate','%0.4f')
    summary10.setColumnFormat('Rate_10','%0.4f')
    summary10.setColumnFormat('Lower95_10','%0.4f')
    summary10.setColumnFormat('Upper95_10','%0.4f')
    summary10.setColumnFormat('Time','%0.2f')
    for test in tests:
        summary10.setElement(test.name,'Face_Rate',test.face_rate)
        summary10.setElement(test.name,'Rate_10',test.both10_rate)
        summary10.setElement(test.name,'Lower95_10',test.both10_ci[0])
        summary10.setElement(test.name,'Upper95_10',test.both10_ci[1])
        summary10.setElement(test.name,'Time',test.elapse_time)
        
        
    summary05 = pv.Table()
    summary05.setColumnFormat('Face_Rate','%0.4f')
    summary05.setColumnFormat('Rate_05','%0.4f')
    summary05.setColumnFormat('Lower95_05','%0.4f')
    summary05.setColumnFormat('Upper95_05','%0.4f')
    summary05.setColumnFormat('Time','%0.2f')
    for test in tests:
        summary05.setElement(test.name,'Face_Rate',test.face_rate)
        summary05.setElement(test.name,'Rate_05',test.both05_rate)
        summary05.setElement(test.name,'Lower95_05',test.both05_ci[0])
        summary05.setElement(test.name,'Upper95_05',test.both05_ci[1])
        summary05.setElement(test.name,'Time',test.elapse_time)
        
    return summary05,summary10,summary25
This is a function to construct xrf element peak, which is based on
dataset/ETHPy150Open bolme/pyvision/src/pyvision/analysis/FaceAnalysis/EyeDetectionTest.py/summarizeEyeDetectionTests--crossover with--dataset/ETHPy150Open scikit-beam/scikit-beam/skbeam/core/fitting/xrf_model.py/element_peak_xrf