YuDongPan / DL_Classifier

This repo is created to provide some state-of-the-art (SOTA) deep learning-based classifier for SSVEP decoding.
10 stars 2 forks source link

Preprocessing Step #1

Closed MarceloContreras closed 1 week ago

MarceloContreras commented 2 weeks ago

Hi :hand:, I would like to know your processig step in detail since I trying to replicate the same SSVEPformer results that you got (which match with the original paper). Did you consider any gaze shifting or visual delay in the signal? And Did you normalize the signal before or after applyting the bandpass filter?

YuDongPan commented 1 week ago

For calculating ITR, an extra 0.5 s for the gaze movement time was added into the parameter T. For this dataset in this repo, the estimated visual delay was 0.135 s. For the benchmark dataset, the estimated visual delay was 0.14 s. And we didn't use any normalization techinique to normalize the signal before or after appling the bandpass filter.

MarceloContreras commented 1 week ago

In other words, you process the data:

  1. Skip the first 0.135 s (time delay) without considering gaze shifting (0.5 s).
  2. Apply a bandpass filter

By any change, can you push the preprocessing script to replicate your data from the Nakanishi dataset?

YuDongPan commented 1 week ago

We preprocessed the original dataset using matlab. We removed first 38 sample points and skip 34 sample points (visual time delay), then used butterworth bandpass filter to filter the remaining data. For more details you could refer to https://github.com/mnakanishi/12JFPM_SSVEP.