A method for determining spectroscopic and thermodynamic constants for simple equilibrium systems