neurogeriatricskiel / NGMT

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

Add datetime to gait sequences detection #51

Closed JuliusWelzel closed 4 months ago

JuliusWelzel commented 4 months ago

I have running the GSD module for home data. When analysing, I became apparent, that having the original datetime information in the output would be useful. @masoudabedinifar Is there an option to implement this?

Best would be to have a onset in datetime format as optional input to the function here.

masoudabedinifar commented 4 months ago

I tried to organize the GSD algorithm as suggested here: 5eb13b0aabfdcadc1dc6395272dcd9f16ff8c186. The algorithm's output will use the original datetime if it is available. Could you please check if it works? Thanks!

Best, Masoud.

JuliusWelzel commented 4 months ago

I reworked this in https://github.com/neurogeriatricskiel/NGMT/commit/6ec908b913cfd95de29d656e19b0b121041bc2f2. dt_data is now a separate pd.Series as datetime input

JuliusWelzel commented 4 months ago

Finalized all checks in https://github.com/neurogeriatricskiel/NGMT/commit/ad102772fd355e6ca64f7ad6a00a4c95d066a1d6.