def testCtor2(self):
     "expSqe: constructor from sqehist.pkl"
     path = "test_cases/4849-4844"
     expSqe( os.path.join( path, '4849-sqehist.pkl' ), 300., 50. )
     
     path = "test_cases/4849-4844"
     expSqe( os.path.join( path, '4844-sqehist.pkl' ), 300., 50. )
     return
 def testCtor3(self):
     "expSqe: constructor from T,M,q,e,sqe,sqeerr"
     path = "test_cases/4849-4844"
     import pickle
     fn = os.path.join( path, '4844-sqehist.pkl' )
     sqehist = pickle.load( open(fn) )
     q = sqehist.axisFromName( 'Q' ).binCenters()
     e = sqehist.axisFromName( 'energy' ).binCenters()
     s = sqehist.data().storage().asNumarray().copy()
     se = sqehist.errors().storage().asNumarray().copy()
     T = 300.
     M = 50.
     expSqe( q, e, s, se, T, M )
     return
 def testCtor1(self):
     "expSqe: constructor from sqe.pkl"
     path = "test_cases/ni_0575"
     expSqe( os.path.join( path, 'sqe.pkl' ), 300., 50. )
     return