

def CalculateModelPredictions(self, inCoeffs, inDataCacheDictionary):
    x_in = inDataCacheDictionary['X']
    a = inCoeffs[0]
    try:
        temp = (1.0 / (1.0 + numpy.square((x_in - a))))
        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 LorentzianPeakA.CalculateModelPredictions/original