#NEWLINE# def CalculateModelPredictions( self , inCoeffs , inDataCacheDictionary ) : #NEWLINE# #INDENT# x_in = inDataCacheDictionary [ 'X' ] #NEWLINE# A = inCoeffs [ 0 ] #NEWLINE# B = inCoeffs [ 1 ] #NEWLINE# C = inCoeffs [ 2 ] #NEWLINE# D = inCoeffs [ 3 ] #NEWLINE# E = inCoeffs [ 4 ] #NEWLINE# F = inCoeffs [ 5 ] #NEWLINE# G = inCoeffs [ 6 ] #NEWLINE# H = inCoeffs [ 7 ] #NEWLINE# try : #NEWLINE# #INDENT# temp = ( ( ( A - ( B * numpy . power ( x_in , C ) ) ) * ( 1 - ( 0.5 + ( numpy . arctan ( ( ( x_in - D ) / E ) ) / numpy . pi ) ) ) ) + ( ( F - ( G * numpy . power ( x_in , H ) ) ) * ( 0.5 + ( numpy . arctan ( ( ( x_in - D ) / E ) ) / numpy . pi ) ) ) ) #NEWLINE# return self . extendedVersionHandler . GetAdditionalModelPredictions ( temp , inCoeffs , inDataCacheDictionary , self ) #NEWLINE# #UNINDENT# except : #NEWLINE# #INDENT# return ( numpy . ones ( len ( inDataCacheDictionary [ 'DependentData' ] ) ) * 1e+300 )