RESUMO
Purpose: To explore whether sleep electroencephalogram (EEG) microarousals of different standard durations predict daytime mood and attention performance in healthy individuals after mild sleep restriction. Participants and Methods: Sixteen (nine female) healthy college students were recruited to examine the correlations between nocturnal EEG microarousals of different standard durations (≥3 s, ≥5 s, ≥7 s, ≥9 s) under mild sleep restriction (1.5 h) and the following morning's subjective alertness, mood, sustained attention, and selective attention task performance. Results: Results revealed that mild sleep restriction significantly reduced subjective alertness and positive mood, while having no significant effect on negative mood, sustained attention and selective attention performance. The number of microarousals (≥5 s) was negatively associated with positive mood at 6:30. The number of microarousals was significantly and positively correlated with the response time difference value of disengagement component of the selective attention task at around 7:30 (≥5 s and ≥7 s) and 9:00 (≥5 s). The number of microarousals (≥7 s) was significantly and positively correlated with the inaccuracy difference value of orientation component of the selective attention task at around 9:00. Conclusion: The number of EEG microarousals during sleep in healthy adults with mild sleep restriction was significantly and negatively related to their daytime positive affect while positively associated with the deterioration of disengagement and orientation of selective attention performance, but this link is dependent on the standard duration of microarousals, test time and the type of task.
RESUMO
Heart rate variability (HRV) is derived from the R-R interval, which depends on the precise localization of R-peaks within an electrocardiogram (ECG) signal. However, current algorithm assessment methods prioritize the R-peak detection's sensitivity rather than the precision of pinpointing the exact R-peak positions. As a result, it is of great value to develop an R-peak detection algorithm with high-precision R-peak localization. This paper introduces a novel R-peak localization algorithm that involves modifications to the well-established Pan-Tompkins (PT) algorithm. The algorithm was implemented as follows. First, the raw ECG signal $ X\left(i\right) $ was band-pass filtered (5-35 Hz) to obtain a preprocessed signal $ Y\left(i\right) $. Second, $ Y\left(i\right) $ was squared to enhance the QRS complex, followed by a 5 Hz low-pass filter to obtain the QRS envelope, which was transformed into a window signal $ W\left(i\right) $ by dynamic threshold with a minimum width of 200 ms to mark the QRS complex. Third, $ Y\left(i\right) $ was used to generate QRS template $ T\left(n\right) $ automatically, and then the R-peak was identified by a template matching process to find the maximum absolute value of all cross-correlation values between $ T\left(n\right) $ and $ Y\left(i\right) $. The proposed algorithm achieved a sensitivity (SE) of 99.78%, a positive prediction value (PPV) of 99.78% and data error rate (DER) of 0.44% in R-peak localization for the MIT-BIH Arrhythmia database. The annotated-detected error (ADE), which represents the error between the annotated R-peak location and the detected R-peak location, was 8.35 ms for the MIT-BIH Arrhythmia database. These results outperformed the results obtained using the classical Pan-Tompkins algorithm which yielded an SE of 98.87%, a PPV of 99.14%, a DER of 1.98% and an ADE of 21.65 ms for the MIT-BIH Arrhythmia database. It can be concluded that the algorithm can precisely detect the location of R-peaks and may have the potential to enhance clinical applications of HRV analysis.