Excitation techniques for resonance analysis of packages