コード例 #1
0
ファイル: spd.py プロジェクト: headmetal/PmagPy
 def get_n_tail(self):
     if len(self.tail_checks_temperatures) > 0:
         n_tail = lib_tail.get_n_tail(self.tmax, self.tail_checks_temperatures)
     else:
         n_tail = 0
     self.pars['n_tail'] = n_tail
     return n_tail
コード例 #2
0
 def get_n_tail(self):
     if len(self.tail_checks_temperatures) > 0:
         n_tail = lib_tail.get_n_tail(self.tmax, self.tail_checks_temperatures)
     else:
         n_tail = 0
     self.pars['n_tail'] = n_tail
     return n_tail
コード例 #3
0
 def test_n_tail(self):
     ref_n_tail = 4
     #        ref_tail_section.  specifying this is not neacessary if we always start at the first tail check.  need to check that this is so
     n_tail = lib_tail.get_n_tail(self.tmax, self.tail_temps)
     self.assertEqual(ref_n_tail, n_tail)
コード例 #4
0
    def test_n_tail(self):
        ref_n_tail = 4
#        ref_tail_section.  specifying this is not neacessary if we always start at the first tail check.  need to check that this is so
        n_tail = lib_tail.get_n_tail(self.tmax, self.tail_temps)
        self.assertEqual(ref_n_tail, n_tail)