Quantifying Rhythmic Entrainment And Resonance In Neuronal Networks