Methods, devices, and systems for predicting, diagnosing, and preventing adverse events during an ablation procedure are described. A method for providing ablation energy includes receiving a first signal based on biological activity of a tissue of a patient. The method further includes analyzing the first signal to yield a first data set, establishing a threshold parameter according to the first data set, and providing ablation energy for the ablation of a biological site.