#NEWLINE# def set_minimum_temperature( self , temperature ) : #NEWLINE# #INDENT# '\n        Set the minimum temperature for the dust\n\n        Parameters\n        ----------\n        temperature : float, list, tuple, or Numpy array\n\n        Notes\n        -----\n        This method should not be used in conjunction with\n        ``set_minimum_specific_energy`` - only one of the two should be used.\n        ' #NEWLINE# if np . isscalar ( value ) : #NEWLINE# #INDENT# validate_scalar ( 'temperature' , temperature , domain = 'positive' ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( ( type ( temperature ) in [ list , tuple ] ) or is_numpy_array ( temperature ) ) : #NEWLINE# #INDENT# temperature = list ( temperature ) #NEWLINE# for value in temperature : #NEWLINE# #INDENT# validate_scalar ( 'temperature' , value , domain = 'positive' ) #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# if ( self . _minimum_specific_energy is not None ) : #NEWLINE# #INDENT# raise Exception ( 'minimum specific_energy has already been set' ) #NEWLINE# #UNINDENT# self . _minimum_temperature = temperature