def GetValue(self, variable):
        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()


        ### -----------------------------------------------
Returns the value of the variable given.
dataset/ETHPy150Open kgullikson88/Telluric-Fitter/src/TelluricFitter.py/TelluricFitter.GetValue