예제 #1
0
파일: TestMRA.py 프로젝트: GitEdit/pyphant1
 def testFindMaximum(self):
     """Test the correct computation of a local minimum."""
     self.assertEqual(numpy.argmax(-self.a), MRA.findMaxima(-self.a, 5)[0])
예제 #2
0
파일: TestMRA.py 프로젝트: scre583/pyphant1
 def testFindMaximum(self):
     """Test the correct computation of a local minimum."""
     self.assertEqual(numpy.argmax(-self.a), MRA.findMaxima(-self.a, 5)[0])