Illustration of the class-wise segment extraction. Two rest (R) and two active (A) data segments are shown. T
: window length, set to 75 data points (15 seconds). T
: temporal shift, set to 25 data points (5 seconds) to compensate for hemodynamic delay. y: binary signal that was used as the target signal for the fNIRS feature extraction.