#NEWLINE# def guess_starting_values( self , y , x ) : #NEWLINE# #INDENT# ( sval , oval ) = np . polyfit ( x , y , 1 ) #NEWLINE# self . set_initval ( self . params . offset , oval ) #NEWLINE# self . set_initval ( oval . params . slope , sval )