Пример #1
0
	def test_acf_circle_2D_31x20(self):
		"""test acf*: circle 2D, 31x20.........................."""
		from utilities import model_circle
		from fundamentals import acf, acfn, acfnp, acfnpl, acfp, acfpl
		A = model_circle(7, 31, 20)
		self.internal_check_ccf(A, A, acf(A,False), acfn(A,False), acfp(A,False), acfnp(A,False), acfpl(A, False), acfnpl(A, False)
									, acf(A,True ), acfn(A,True ), acfp(A,True ), acfnp(A,True ), acfpl(A, True ), acfnpl(A, True ) )
Пример #2
0
 def test_acf_objects_2D_31x20(self):
     """test acf*: objects 2D, 31x20.........................."""
     from fundamentals import acf, acfn, acfnp, acfnpl, acfp, acfpl
     A = self.internal_test_image(31, 20)
     self.internal_check_ccf(A, A, acf(A, False), acfn(A, False),
                             acfp(A, False), acfnp(A,
                                                   False), acfpl(A, False),
                             acfnpl(A, False), acf(A, True), acfn(A, True),
                             acfp(A, True), acfnp(A, True), acfpl(A, True),
                             acfnpl(A, True))
Пример #3
0
	def test_acf_objects_2D_31x20(self):
		"""test acf*: objects 2D, 31x20.........................."""
		from fundamentals import acf, acfn, acfnp, acfnpl, acfp, acfpl
		A = self.internal_test_image(31, 20)
		self.internal_check_ccf(A, A, acf(A,False), acfn(A,False), acfp(A,False), acfnp(A,False), acfpl(A, False), acfnpl(A, False)
									, acf(A,True ), acfn(A,True ), acfp(A,True ), acfnp(A,True ), acfpl(A, True ), acfnpl(A, True ) )