Changeset 13515 for fact/tools/pyscripts


Ignore:
Timestamp:
05/02/12 14:37:50 (13 years ago)
Author:
kraehenb
Message:
Renamed test scripts and Class calls within to new naming standard.
Location:
fact/tools/pyscripts/examples
Files:
3 moved

Legend:

Unmodified
Added
Removed
  • fact/tools/pyscripts/examples/CalFactFitsPerformance.py

    r13513 r13515  
    11#!/usr/bin/python -tt
    22# ********************************
    3 # Test script for the CalFits class
     3# Test script for the CalFactFits class
    44#
    55# written by Thomas Kraehenbuehl, ETH Zurich
     
    1515
    1616from ROOT import gSystem
    17 gSystem.Load("calfits_h.so")
     17gSystem.Load("calfactfits_h.so")
    1818from ROOT import *
    1919print "Testing object creation: "
    20 caltest = CalFits(datafilename,calibfilename)
     20caltest = CalFactFits(datafilename,calibfilename)
    2121npcalevent  = np.empty( caltest.npix * caltest.nroi, np.float64) #.reshape(caltest.npix ,caltest.nroi)
    2222caltest.SetNpcaldataPtr(npcalevent)
  • fact/tools/pyscripts/examples/CalFactFitsPerformanceWeave.py

    r13513 r13515  
    11#!/usr/bin/python -tt
    22# ********************************
    3 # Test script for the CalFits class
     3# Test script for the CalFactFits class
    44#
    55# written by Thomas Kraehenbuehl, ETH Zurich
     
    1616
    1717from ROOT import gSystem
    18 gSystem.Load("calfits_h.so")
     18gSystem.Load("calfactfits_h.so")
    1919from ROOT import *
    2020print "Testing object creation: "
    21 caltest = CalFits(datafilename,calibfilename)
     21caltest = CalFactFits(datafilename,calibfilename)
    2222npcalevent  = np.empty( caltest.npix * caltest.nroi, np.float64) #.reshape(caltest.npix ,caltest.nroi)
    2323caltest.SetNpcaldataPtr(npcalevent)
     
    8787    weave.inline(cppcode, ['c_integrals', 'npcalevent','nroi','npix'], type_converters=converters.blitz)
    8888   
    89 #    print "CalFitsPerformanceWeave"
     89#    print "CalFactFitsPerformanceWeave"
    9090#    for i in range(10):
    9191#        print i, npcalevent[i], c_integrals[i]
  • fact/tools/pyscripts/examples/CalFactFitsTest.py

    r13513 r13515  
    11#!/usr/bin/python -tt
    22# ********************************
    3 # Test script for the CalFits class
     3# Test script for the CalFactFits class
    44#
    55# written by Thomas Kraehenbuehl, ETH Zurich
     
    1414
    1515from ROOT import gSystem
    16 gSystem.Load("calfits_h.so")
     16gSystem.Load("calfactfits_h.so")
    1717from ROOT import *
    1818print "Testing object creation: "
    19 caltest = CalFits(datafilename,calibfilename)
     19caltest = CalFactFits(datafilename,calibfilename)
    2020npcalevent  = np.empty( caltest.npix * caltest.nroi, np.float64) #.reshape(caltest.npix ,caltest.nroi)
    2121caltest.SetNpcaldataPtr(npcalevent)
Note: See TracChangeset for help on using the changeset viewer.