- Timestamp:
- 05/02/12 14:37:50 (13 years ago)
- Location:
- fact/tools/pyscripts/examples
- Files:
-
- 3 moved
Legend:
- Unmodified
- Added
- Removed
-
fact/tools/pyscripts/examples/CalFactFitsPerformance.py
r13513 r13515 1 1 #!/usr/bin/python -tt 2 2 # ******************************** 3 # Test script for the CalF its class3 # Test script for the CalFactFits class 4 4 # 5 5 # written by Thomas Kraehenbuehl, ETH Zurich … … 15 15 16 16 from ROOT import gSystem 17 gSystem.Load("calf its_h.so")17 gSystem.Load("calfactfits_h.so") 18 18 from ROOT import * 19 19 print "Testing object creation: " 20 caltest = CalF its(datafilename,calibfilename)20 caltest = CalFactFits(datafilename,calibfilename) 21 21 npcalevent = np.empty( caltest.npix * caltest.nroi, np.float64) #.reshape(caltest.npix ,caltest.nroi) 22 22 caltest.SetNpcaldataPtr(npcalevent) -
fact/tools/pyscripts/examples/CalFactFitsPerformanceWeave.py
r13513 r13515 1 1 #!/usr/bin/python -tt 2 2 # ******************************** 3 # Test script for the CalF its class3 # Test script for the CalFactFits class 4 4 # 5 5 # written by Thomas Kraehenbuehl, ETH Zurich … … 16 16 17 17 from ROOT import gSystem 18 gSystem.Load("calf its_h.so")18 gSystem.Load("calfactfits_h.so") 19 19 from ROOT import * 20 20 print "Testing object creation: " 21 caltest = CalF its(datafilename,calibfilename)21 caltest = CalFactFits(datafilename,calibfilename) 22 22 npcalevent = np.empty( caltest.npix * caltest.nroi, np.float64) #.reshape(caltest.npix ,caltest.nroi) 23 23 caltest.SetNpcaldataPtr(npcalevent) … … 87 87 weave.inline(cppcode, ['c_integrals', 'npcalevent','nroi','npix'], type_converters=converters.blitz) 88 88 89 # print "CalF itsPerformanceWeave"89 # print "CalFactFitsPerformanceWeave" 90 90 # for i in range(10): 91 91 # print i, npcalevent[i], c_integrals[i] -
fact/tools/pyscripts/examples/CalFactFitsTest.py
r13513 r13515 1 1 #!/usr/bin/python -tt 2 2 # ******************************** 3 # Test script for the CalF its class3 # Test script for the CalFactFits class 4 4 # 5 5 # written by Thomas Kraehenbuehl, ETH Zurich … … 14 14 15 15 from ROOT import gSystem 16 gSystem.Load("calf its_h.so")16 gSystem.Load("calfactfits_h.so") 17 17 from ROOT import * 18 18 print "Testing object creation: " 19 caltest = CalF its(datafilename,calibfilename)19 caltest = CalFactFits(datafilename,calibfilename) 20 20 npcalevent = np.empty( caltest.npix * caltest.nroi, np.float64) #.reshape(caltest.npix ,caltest.nroi) 21 21 caltest.SetNpcaldataPtr(npcalevent)
Note:
See TracChangeset
for help on using the changeset viewer.