コード例 #1
0
    def test_determine_reflect(self):
        R_found = determine_reflect(self.T_m,
                                    self.R_m,
                                    self.L_m,
                                    reflect_approx=self.R_approx)

        self.assertEqual(R_found, self.R.s11)
コード例 #2
0
    def test_determine_reflect(self):
        r_found = [determine_reflect(self.T_m,k,self.L_m, l, self.L_approx) \
                   for k,l in zip(self.R_m, self.r_estimate)]

        [self.assertEqual(k, l) for k, l in zip(self.r, r_found)]
コード例 #3
0
    def test_determine_reflect(self):
        r_found = [determine_reflect(self.T_m,k,self.L_m, l, self.L_approx) \
                   for k,l in zip(self.R_m, self.r_estimate)]

        [ self.assertEqual(k,l) for k,l in zip(self.r, r_found)]
コード例 #4
0
 def test_determine_reflect(self):
     R_found = determine_reflect(self.T_m, self.R_m, self.L_m, 
                              reflect_approx=self.R_approx)
     
     self.assertEqual(R_found,self.R.s11)