Understanding the onset and termination of tachycardias