예제 #1
0
파일: spd.py 프로젝트: headmetal/PmagPy
 def get_alpha(self): # need Int_Free and Int_Anc
     free = self.pars['best_fit_vector_Free']
     anc = self.pars['best_fit_vector_Anc']
     alpha = lib_direct.get_alpha(anc, free)
     self.pars['alpha'] = alpha
 def test_alpha(self):
     result = lib_direct.get_alpha(self.d1, self.d2)
     self.assertAlmostEqual(self.ref_alpha_degrees, result)
예제 #3
0
 def get_alpha(self): # need Int_Free and Int_Anc
     free = self.pars['best_fit_vector_Free']
     anc = self.pars['best_fit_vector_Anc']
     alpha = lib_direct.get_alpha(anc, free)
     self.pars['alpha'] = alpha
 def test_alpha(self):
     result = lib_direct.get_alpha(self.d1, self.d2)
     self.assertAlmostEqual(self.ref_alpha_degrees, result)