

def GetValue(self, variable):
    '\n        Returns the value of the variable given.\n        Useful to get the fitted value of the parameters\n        '
    if (variable in self.parnames):
        idx = self.parnames.index(variable)
        return self.const_pars[idx]
    else:
        print(('Error! Bad parameter name given (%s).' % variable))
        print('Currently available parameter names are: ')
        self.DisplayVariables()

dataset/ETHPy150Open kgullikson88/Telluric-Fitter/src/TelluricFitter.py TelluricFitter.GetValue/original