Skip to main content
. 2020 Apr 10;20(7):2136. doi: 10.3390/s20072136
Algorithm 1. Pseudocode of data length normalization.
1: IF the length of the recording is greater than 9000 samples
2: Chop recording into 9000 samples with 50% overlap between segments
3: IF the length of the recording is less than 9000 samples
4: DATA: = copy the recording
5: Append DATA in the back of the recording
6: DO step 5 until the appended recording reaches 9000 samples
7: IF the length of the recording is equal to 9000 samples
8: Preserve the recording