#NEWLINE# def TaylorSubpixel( params ) : #NEWLINE# #INDENT# '\n    a*s*s + b*x*x + c*y*y + d*x*y + e*s + f*x + g*y + h\n    ' #NEWLINE# ( a , b , c , _ , e , f , g , _ ) = params #NEWLINE# s = ( ( - e ) / ( 2 * a ) ) #NEWLINE# x = ( ( - f ) / ( 2 * b ) ) #NEWLINE# y = ( ( - g ) / ( 2 * f ) ) #NEWLINE# return ( s , x , y )