qspec.simulate.ScatteringRate. set_states ( )[source] Define the lower and upper states from the transition i_decay of the DecayMap of the atom.