neurogeriatricskiel / KielMAT

Python based toolbox for processing motion data
https://neurogeriatricskiel.github.io/KielMAT/
Other
6 stars 1 forks source link

Target sampling frequency issue in GSD and ICD algorithms #65

Closed masoudabedinifar closed 7 months ago

masoudabedinifar commented 7 months ago

Why the target sampling frequency is always fixed to 40 Hz in https://github.com/neurogeriatricskiel/NGMT/blob/main/ngmt/modules/gsd/_paraschiv.py ?

rmndrs89 commented 7 months ago

It is not fixed. You can choose whatever target sampling frequency that you want. However, given the large amount of data, it is common practice to downsample the signals to a lower sampling frequency (e.g., 32 or 40 Hz) that would still contain the frequency band in which human motion is typically observed (i.e., 1 - 15 Hz). Note however, that as for the filtering steps, fixed filter coefficients are used, these corresponds to the filter designed for a sampling frequency of 40 Hz.