예제 #1
0
파일: spd.py 프로젝트: headmetal/PmagPy
 def get_MD_VDS(self):
     MD_VDS = lib_tail.get_MD_VDS(self.pars['tail_check_max'], self.pars['specimen_vds'])
     self.pars['MD_VDS'] = MD_VDS
     return MD_VDS
예제 #2
0
 def test_MD_VDS(self):
     ref_MD_VDS = (old_div(self.ref_tail_check_max, self.vds)) * 100.
     MD_VDS = lib_tail.get_MD_VDS(self.ref_tail_check_max, self.vds)
     self.assertAlmostEqual(ref_MD_VDS, MD_VDS)
예제 #3
0
 def get_MD_VDS(self):
     MD_VDS = lib_tail.get_MD_VDS(self.pars['tail_check_max'], self.pars['specimen_vds'])
     self.pars['MD_VDS'] = MD_VDS
     return MD_VDS
 def test_MD_VDS(self):
     ref_MD_VDS = (self.ref_tail_check_max / self.vds) * 100.
     MD_VDS = lib_tail.get_MD_VDS(self.ref_tail_check_max, self.vds)
     self.assertAlmostEqual(ref_MD_VDS, MD_VDS)