Measured gyromagnetic ratios of individual excited states in the ground- and gamma-bands of166Er