A waveform-independent measure of recurrent neural activity