#NEWLINE# def CalculateModelPredictions( self , inCoeffs , inDataCacheDictionary ) : #NEWLINE# #INDENT# x_in = inDataCacheDictionary [ 'X' ] #NEWLINE# y_in = inDataCacheDictionary [ 'Y' ] #NEWLINE# a = inCoeffs [ 0 ] #NEWLINE# b = inCoeffs [ 1 ] #NEWLINE# c = inCoeffs [ 2 ] #NEWLINE# d = inCoeffs [ 3 ] #NEWLINE# f = inCoeffs [ 4 ] #NEWLINE# g = inCoeffs [ 5 ] #NEWLINE# try : #NEWLINE# #INDENT# temp = ( ( a / ( 1.0 + numpy . square ( ( ( x_in - b ) / c ) ) ) ) + ( d * ( 1.0 + numpy . square ( ( ( a - f ) / g ) ) ) ) ) #NEWLINE# return self . extendedVersionHandler . GetAdditionalModelPredictions ( temp , inCoeffs , inDataCacheDictionary , self ) #NEWLINE# #UNINDENT# except : #NEWLINE# #INDENT# return ( numpy . ones ( len ( inDataCacheDictionary [ 'DependentData' ] ) ) * 1e+300 )