

def CalculateModelPredictions(self, inCoeffs, inDataCacheDictionary):
    x_in = inDataCacheDictionary['X']
    a = inCoeffs[0]
    b = inCoeffs[1]
    c = inCoeffs[2]
    d = inCoeffs[3]
    try:
        temp = (a / (1.0 + numpy.power(((x_in - b) / c), d)))
        return self.extendedVersionHandler.GetAdditionalModelPredictions(temp, inCoeffs, inDataCacheDictionary, self)
    except:
        return (numpy.ones(len(inDataCacheDictionary['DependentData'])) * 1e+300)

dataset/ETHPy150Open zunzun/pyeq2/Models_2D/Peak.py LorentzianModifiedPeakG.CalculateModelPredictions/original