Skip to main content
. 2016 Nov 2;6(4):55. doi: 10.3390/bios6040055

Figure 3.

Figure 3

Pseudocode for the TERMA-based detector function. The function has six inputs: biomedical signal (Sig), F1, F2, W1, W2 and β. The band-pass filter will be determined by the frequency band F1F2 Hz, while W1 and W2 are the window sizes of the two moving averages MAevent and MAcycle, respectively. However, β is used to calculate the statistical threshold α.