def getCurrentFunction(self): currFunctionName = self.getCurrentFunctionName() import Fitting return Fitting.GetFunctionFromName(currFunctionName)