#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# f = inCoeffs [ 4 ] #NEWLINE# try : #NEWLINE# #INDENT# temp = ( d + ( ( a - d ) / numpy . power ( ( 1.0 + numpy . power ( ( x_in / c ) , b ) ) , f ) ) ) #NEWLINE# return self . extendedVersionHandler . GetAdditionalModelPredictions ( temp , inCoeffs , inDataCacheDictionary , self ) #NEWLINE# #UNINDENT# except : #NEWLINE# #INDENT# return ( numpy . ones ( len ( temp [ 'DependentData' ] ) ) * 1e+300 )