#NEWLINE# def model( self , params = None , x = None , **kws ) : #NEWLINE# #INDENT# if ( params is None ) : #NEWLINE# #INDENT# params = self . params #NEWLINE# #UNINDENT# return ( params . offset . value + ( x * params . slope . value ) )