Analysis of neural excitability and oscillations