Algorithm 1From: Automated characterization of patient–ventilator interaction using surface electromyographyTriangle algorithm for maximum robustness and highly accurate detection of the exact onset of electrical activity.Back to article page