added downsampling to excitability analysis