def __init__(self, dictionary):
        self.Tmin = dictionary['Tmin']
        """[K] The minimum temperature of the range covered by this record."""
        if type(self.Tmin) is not float:
            self.Tmin = float(self.Tmin)

        self.Tmax = dictionary['Tmax']
        """[K] The maximum temperature of the range covered by this record."""
        if type(self.Tmax) is not float:
            self.Tmax = float(self.Tmax)

        self._coefficients = []
        """The coefficients of the terms in the Cp equation."""

        self._exponents = []
        """The exponents of the terms in the Cp equation."""

        for t in dictionary['Terms']:
            c = t['Coefficient']
            e = t['Exponent']
            if type(c) is not float:
                c = float(c)
            if type(e) is not float:
                e = float(e)
            self._coefficients.append(c)
            self._exponents.append(e)
def __init__ ( self , dictionary ) : self . Tmin = dictionary [ 'Tmin' ] if type ( self . Tmin ) is not float : self . Tmin = float ( self . Tmin ) self . Tmax = dictionary [ 'Tmax' ] if type ( self . Tmax ) is not float : self . Tmax = float ( self . Tmax ) self . _coefficients = [ ] self . _exponents = [ ] for t in dictionary [ 'Terms' ] : c = t [ 'Coefficient' ] e = t [ 'Exponent' ] if type ( c ) is not float : c = float ( c ) if type ( e ) is not float : e = float ( e ) self . _coefficients . append ( c ) self . _exponents . append ( e )
[K] The minimum temperature of the range covered by this record.