示例#1
0
 def testStaibDatsmoothSize(self):
     """smooth should return an array of the same size as what it was given"""
     SD = StaibDat(self.filename)
     self.assertEqual(SD.smooth("C1").shape[0], SD["C1"].shape[0])
示例#2
0
 def testStaibDatsmoothSize(self):
   """smooth should return an array of the same size as what it was given"""
   SD = StaibDat(self.filename)
   self.assertEqual(SD.smooth("C1").shape[0],SD["C1"].shape[0])
示例#3
0
 def testStaibDatsmoothArray(self):
     """smooth should return a numpy array"""
     SD = StaibDat(self.filename)
     self.assertEqual(type(SD.smooth("C1")), numpy.ndarray)
示例#4
0
 def testStaibDatsmoothArray(self):
   """smooth should return a numpy array"""
   SD = StaibDat(self.filename)
   self.assertEqual(type(SD.smooth("C1")),numpy.ndarray)