

def DisplayVariables(self, fitonly=False):
    '\n        Display the value of each of the parameters, and show whether it is being fit or not\n\n        :param fitonly: bool variable. If true, it only shows the variables being fit. Otherwise,\n                        it shows all variables.\n\n        :return: None\n        '
    print(('%.15s\tValue\t\tFitting?\tBounds' % 'Parameter'.ljust(15)))
    print('-------------\t-----\t\t-----\t\t-----')
    for i in range(len(self.parnames)):
        if ((fitonly and self.fitting[i]) or (not fitonly)):
            if (len(self.bounds[i]) == 2):
                print(('%.15s\t%.5E\t%s\t\t%g - %g' % (self.parnames[i].ljust(15), self.const_pars[i], self.fitting[i], self.bounds[i][0], self.bounds[i][1])))
            else:
                print(('%.15s\t%.5g\t\t%s' % (self.parnames[i].ljust(15), self.const_pars[i], self.fitting[i])))

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