Beispiel #1
0
 def __init__(self, factor, derivation, offset=0.0):
     warnings.warn(
         "Using the OffsetUnit class is not recommended as its offset"
         " attribute is now available on the more general parent "
         "class: scimath.units.unit.unit.")
     unit.__init__(self, factor, derivation)
     self.offset = offset
Beispiel #2
0
 def __init__(self, factor, derivation, offset=0.0):
     warnings.warn("Using the OffsetUnit class is not recommended as its offset"
                   " attribute is now available on the more general parent "
                   "class: scimath.units.unit.unit.")
     unit.__init__(self, factor, derivation)
     self.offset = offset
Beispiel #3
0
 def __init__(self, factor, derivation, offset=0.0):
     unit.__init__(self, factor, derivation)
     self.offset = offset
Beispiel #4
0
 def __init__(self,factor,derivation,offset=0.0):
     unit.__init__(self,factor,derivation)
     self.offset = offset