Searched refs:as_base_units (Results 1 – 2 of 2) sorted by relevance
245 def as_base_units(self): member in Unit281 uo_base, ofactor = self.as_base_units282 un_base, nfactor = Unit(new_unit).as_base_units475 def as_base_units(self): member in FloatWithUnit482 return self.to(self.unit.as_base_units[0])666 def as_base_units(self): member in ArrayWithUnit673 return self.to(self.unit.as_base_units[0])
153 self.assertEqual(FloatWithUnit(5000000, "Pa"), x.as_base_units)262 self.assertArrayEqual(ArrayWithUnit([5000000, 10000000], "Pa"), x.as_base_units)