Excitable dynamics in neural and cardiac systems